patch from skejoe for gcc 4.3 compatibility
authorCampbell Barton <ideasman42@gmail.com>
Tue, 24 Jun 2008 14:51:02 +0000 (14:51 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Tue, 24 Jun 2008 14:51:02 +0000 (14:51 +0000)
intern/ghost/intern/GHOST_WindowX11.cpp
intern/string/STR_String.h
source/blender/editors/include/ED_screen.h
source/blender/yafray/intern/export_File.cpp
source/blender/yafray/intern/export_Plugin.cpp
source/blender/yafray/intern/yafray_Render.cpp

index 4dce69a105155d1659e4031147baaea65a8b7d07..faf6c5b2a99df239c4e91a8500fdb462d4443926 100644 (file)
@@ -35,6 +35,8 @@
 #include <X11/cursorfont.h>
 #include <X11/Xatom.h>
 
+#include <cstdio>
+
 #if defined(__sun__) || defined( __sun ) || defined (__sparc) || defined (__sparc__)
 #include <strings.h>
 #endif
index 429b84e1531d9ad4e7b3c9b2d159af684b32e7f8..2e489f91ae03fa1dd3538c83255134fc79fb079a 100644 (file)
@@ -42,6 +42,8 @@
 #define        assertd(exp)                    ((void)NULL)
 #endif
 
+#include <cstdlib>
+#include <cstring>
 #include <vector>
 #include <limits.h>
 using namespace std;
index ac66e4420d9f6a5a9fa30ca21b194ddbcac292fa..f1ce0d5e66e7800b44cdb51fa2d75d8baaceb231 100644 (file)
@@ -63,8 +63,8 @@ void  ED_operatortypes_screen(void);
 void   ED_keymap_screen(struct wmWindowManager *wm);
 
 /* operators; context poll callbacks */
-int            ED_operator_screenactive(bContext *C);
-int            ED_operator_screen_mainwinactive(bContext *C);
+int            ED_operator_screenactive(struct bContext *C);
+int            ED_operator_screen_mainwinactive(struct bContext *C);
 
 
 #endif /* ED_SCREEN_H */
index 48e4f26717745fbaa9038cf79627b8ad70097925..40992513c8e1785ffd70f6389eb8db1857c7dd10 100644 (file)
@@ -1,6 +1,7 @@
 #include "export_File.h"
 
 #include <math.h>
+#include <cstring>
 
 using namespace std;
 
index cccd6b1ab8d761e80c70ce2c605f893a5296807c..16ae2d97f622d8e4be0900292fb61cb57f521600 100644 (file)
@@ -1,6 +1,7 @@
 #include "export_Plugin.h"
 
 #include <math.h>
+#include <cstring>
 using namespace std;
 
 
index fa7c61072f4a46eb22db9ea3c9803c4bd071b963..90229575235a952ae225571f61a7938e21ecef6f 100644 (file)
@@ -7,6 +7,7 @@
 #include "yafray_Render.h"
 
 #include <math.h>
+#include <cstring>
 
 using namespace std;