Merge topic 'fix-tests-for-gcc-4.7'
b21cb9f
Tests/ObjC++: Use standard <iostream> header7fa8e53
Tests/X11: Add missing include <stdlib.h> for 'rand'
This commit is contained in:
commit
d8627aa5b9
|
@ -1,5 +1,6 @@
|
||||||
#import <iostream.h>
|
|
||||||
#import <Cocoa/Cocoa.h>
|
#import <Cocoa/Cocoa.h>
|
||||||
|
#import <iostream>
|
||||||
|
using namespace std;
|
||||||
|
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
#define MAIN_H 1
|
#define MAIN_H 1
|
||||||
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
/* include the X library headers */
|
/* include the X library headers */
|
||||||
#include <X11/Xlib.h>
|
#include <X11/Xlib.h>
|
||||||
|
|
Loading…
Reference in New Issue