diff options
Diffstat (limited to 'source/blender/src/editsound.c')
-rw-r--r-- | source/blender/src/editsound.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/src/editsound.c b/source/blender/src/editsound.c index 9d22b42e4d9..8f384da000b 100644 --- a/source/blender/src/editsound.c +++ b/source/blender/src/editsound.c @@ -31,6 +31,7 @@ */ #include <stdio.h> +#include <stdlib.h> #include <math.h> #include <string.h> #include <fcntl.h> @@ -40,8 +41,11 @@ #endif #ifndef WIN32 +#define __USE_XOPEN /* Needed for swab on linux */ #include <unistd.h> +#undef __USE_XOPEN #else + #include <io.h> #endif #include "MEM_guardedalloc.h" |