summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Tests/ObjC++/objc++.mm3
-rw-r--r--Tests/X11/HelloWorldX11.cxx1
2 files changed, 3 insertions, 1 deletions
diff --git a/Tests/ObjC++/objc++.mm b/Tests/ObjC++/objc++.mm
index b7ec4b5..f0be256 100644
--- a/Tests/ObjC++/objc++.mm
+++ b/Tests/ObjC++/objc++.mm
@@ -1,5 +1,6 @@
-#import <iostream.h>
#import <Cocoa/Cocoa.h>
+#import <iostream>
+using namespace std;
int main()
{
diff --git a/Tests/X11/HelloWorldX11.cxx b/Tests/X11/HelloWorldX11.cxx
index 5bbc19a..e3c9dd9 100644
--- a/Tests/X11/HelloWorldX11.cxx
+++ b/Tests/X11/HelloWorldX11.cxx
@@ -15,6 +15,7 @@
#define MAIN_H 1
#include <iostream>
+#include <stdlib.h>
/* include the X library headers */
#include <X11/Xlib.h>