From 173ecf172af09391c463f43187b62c738a73a338 Mon Sep 17 00:00:00 2001 From: Kent Mein Date: Thu, 27 May 2004 14:54:14 +0000 Subject: Panagiotis Papadakos's patch to fix the following: Implicit declaration of swab in Linux, needs to define __USE_XOPEN at source/blender/src: I also added #includst to this file to fix it on solaris as well. Kent --- source/blender/src/editsound.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source/blender') 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 +#include #include #include #include @@ -40,8 +41,11 @@ #endif #ifndef WIN32 +#define __USE_XOPEN /* Needed for swab on linux */ #include +#undef __USE_XOPEN #else + #include #endif #include "MEM_guardedalloc.h" -- cgit v1.2.3