diff options
author | Hans Lambermont <hans@lambermont.dyndns.org> | 2003-10-05 23:37:16 +0400 |
---|---|---|
committer | Hans Lambermont <hans@lambermont.dyndns.org> | 2003-10-05 23:37:16 +0400 |
commit | 1bbf616b59ebc5f0292ade9bea0718d6d5bd34f3 (patch) | |
tree | 1fa4fefcde374936c0d50eda3b45467807b3fcd1 /intern/SoundSystem | |
parent | d9ec78a895071c5ae547c3b4388c581a10b9117a (diff) |
Finally add spike's FreeBSD suggestions. Tnxto Chris for forwarding.
Diffstat (limited to 'intern/SoundSystem')
-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() { |