From 7fa8e532b6f6148707f12c17c284194003d679e6 Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 18 Jul 2012 09:59:15 -0400 Subject: Tests/X11: Add missing include for 'rand' --- Tests/X11/HelloWorldX11.cxx | 1 + 1 file changed, 1 insertion(+) 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 +#include /* include the X library headers */ #include -- cgit v0.12 From b21cb9ff7407c0fecd069c61ebd0f6512aa2d602 Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 18 Jul 2012 10:03:59 -0400 Subject: Tests/ObjC++: Use standard header Drop use of non-standard header. --- Tests/ObjC++/objc++.mm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 #import +#import +using namespace std; int main() { -- cgit v0.12