Finally add spike's FreeBSD suggestions. Tnxto Chris for forwarding.

This commit is contained in:
Hans Lambermont
2003-10-05 19:37:16 +00:00
parent d9ec78a895
commit 1bbf616b59
2 changed files with 12 additions and 10 deletions

View File

@@ -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()
{

View File

@@ -90,10 +90,9 @@
#include <signal.h>
#ifdef __FreeBSD__
#ifndef __OpenBSD__
#include <floatingpoint.h>
#include <sys/rtprio.h>
#endif
# include <sys/types.h>
# include <floatingpoint.h>
# include <sys/rtprio.h>
#endif
// from buildinfo.c