Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/intern
diff options
context:
space:
mode:
authorHans Lambermont <hans@lambermont.dyndns.org>2003-10-05 23:37:16 +0400
committerHans Lambermont <hans@lambermont.dyndns.org>2003-10-05 23:37:16 +0400
commit1bbf616b59ebc5f0292ade9bea0718d6d5bd34f3 (patch)
tree1fa4fefcde374936c0d50eda3b45467807b3fcd1 /intern
parentd9ec78a895071c5ae547c3b4388c581a10b9117a (diff)
Finally add spike's FreeBSD suggestions. Tnxto Chris for forwarding.
Diffstat (limited to 'intern')
-rw-r--r--intern/SoundSystem/intern/SND_WaveCache.cpp15
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()
{