Finally add spike's FreeBSD suggestions. Tnxto Chris for forwarding.
This commit is contained in:
@@ -45,12 +45,15 @@
|
|||||||
#include "SND_WaveCache.h"
|
#include "SND_WaveCache.h"
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#ifndef __APPLE__
|
#ifdef __APPLE__
|
||||||
#include <malloc.h>
|
|
||||||
#else // __APPLE__
|
|
||||||
# include <sys/malloc.h>
|
# include <sys/malloc.h>
|
||||||
#endif // __APPLE__
|
#else
|
||||||
|
# ifdef __FreeBSD__
|
||||||
|
# include <stdlib.h>
|
||||||
|
# else
|
||||||
|
# include <malloc.h>
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
|
|
||||||
SND_WaveCache::SND_WaveCache()
|
SND_WaveCache::SND_WaveCache()
|
||||||
{
|
{
|
||||||
|
@@ -90,11 +90,10 @@
|
|||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
|
|
||||||
#ifdef __FreeBSD__
|
#ifdef __FreeBSD__
|
||||||
#ifndef __OpenBSD__
|
# include <sys/types.h>
|
||||||
# include <floatingpoint.h>
|
# include <floatingpoint.h>
|
||||||
# include <sys/rtprio.h>
|
# include <sys/rtprio.h>
|
||||||
#endif
|
#endif
|
||||||
#endif
|
|
||||||
|
|
||||||
// from buildinfo.c
|
// from buildinfo.c
|
||||||
extern char * build_date;
|
extern char * build_date;
|
||||||
|
Reference in New Issue
Block a user