diff options
author | Campbell Barton <ideasman42@gmail.com> | 2008-06-24 18:51:02 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2008-06-24 18:51:02 +0400 |
commit | fdb0b003f0555cd865bc665eaf99137501aa2be2 (patch) | |
tree | d8b09eb4caf9485c5db8572c3324b5f76612977b /intern | |
parent | a06f4f3817647793073da79a7f80d8ff784288e8 (diff) |
patch from skejoe for gcc 4.3 compatibility
Diffstat (limited to 'intern')
-rw-r--r-- | intern/ghost/intern/GHOST_WindowX11.cpp | 2 | ||||
-rw-r--r-- | intern/string/STR_String.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/intern/ghost/intern/GHOST_WindowX11.cpp b/intern/ghost/intern/GHOST_WindowX11.cpp index 4dce69a1051..faf6c5b2a99 100644 --- a/intern/ghost/intern/GHOST_WindowX11.cpp +++ b/intern/ghost/intern/GHOST_WindowX11.cpp @@ -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 diff --git a/intern/string/STR_String.h b/intern/string/STR_String.h index 429b84e1531..2e489f91ae0 100644 --- a/intern/string/STR_String.h +++ b/intern/string/STR_String.h @@ -42,6 +42,8 @@ #define assertd(exp) ((void)NULL) #endif +#include <cstdlib> +#include <cstring> #include <vector> #include <limits.h> using namespace std; |