diff options
Diffstat (limited to 'intern')
-rw-r--r-- | intern/SoundSystem/intern/SND_WaveCache.cpp | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/intern/SoundSystem/intern/SND_WaveCache.cpp b/intern/SoundSystem/intern/SND_WaveCache.cpp index 0e4a2603789..e9868f77f57 100644 --- a/intern/SoundSystem/intern/SND_WaveCache.cpp +++ b/intern/SoundSystem/intern/SND_WaveCache.cpp @@ -45,12 +45,15 @@ #include "SND_WaveCache.h" #include <stdio.h> -#ifndef __APPLE__ -#include <malloc.h> -#else // __APPLE__ -#include <sys/malloc.h> -#endif // __APPLE__ - +#ifdef __APPLE__ +# include <sys/malloc.h> +#else +# ifdef __FreeBSD__ +# include <stdlib.h> +# else +# include <malloc.h> +# endif +#endif SND_WaveCache::SND_WaveCache() { |