diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-01-19 13:57:59 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-01-19 13:57:59 +0300 |
commit | 530b8bba4274abc75b287492440a79f91d2d75d2 (patch) | |
tree | 499d1d9210155b9e66eeac41b391655e019ea870 /intern | |
parent | e6697dfe4a882a81c8369f2590cbf31e2fed6f14 (diff) |
patch [#20612] Making Blender compile on AIX 4.3.3
from Philipp Gühring (sourcerer)
Diffstat (limited to 'intern')
-rw-r--r-- | intern/ghost/SConscript | 2 | ||||
-rw-r--r-- | intern/string/intern/STR_String.cpp | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/intern/ghost/SConscript b/intern/ghost/SConscript index ff98981a35e..6713ded0afa 100644 --- a/intern/ghost/SConscript +++ b/intern/ghost/SConscript @@ -14,7 +14,7 @@ if window_system == 'darwin': pf = ['GHOST_DisplayManager', 'GHOST_System', 'GHOST_Window', 'GHOST_DropTarget'] defs=['_USE_MATH_DEFINES'] -if window_system in ('linux2', 'openbsd3', 'sunos5', 'freebsd6', 'irix6'): +if window_system in ('linux2', 'openbsd3', 'sunos5', 'freebsd6', 'irix6', 'aix4', 'aix5'): for f in pf: try: sources.remove('intern' + os.sep + f + 'Win32.cpp') diff --git a/intern/string/intern/STR_String.cpp b/intern/string/intern/STR_String.cpp index 646b1a853dc..a4b8d67a117 100644 --- a/intern/string/intern/STR_String.cpp +++ b/intern/string/intern/STR_String.cpp @@ -39,6 +39,7 @@ #include <stdlib.h> #include <ctype.h> #include <string.h> +#include <strings.h> #include "STR_String.h" /*------------------------------------------------------------------------------------------------- |