FreeBSD support.
This commit is contained in:
parent
d56289f897
commit
62ca2e0227
2 changed files with 9 additions and 1 deletions
|
@ -25,6 +25,9 @@
|
||||||
*
|
*
|
||||||
***************************************************************************
|
***************************************************************************
|
||||||
* $Log$
|
* $Log$
|
||||||
|
* Revision 1.3 1998/11/20 01:01:03 curt
|
||||||
|
* FreeBSD support.
|
||||||
|
*
|
||||||
* Revision 1.2 1998/11/02 18:28:31 curt
|
* Revision 1.2 1998/11/02 18:28:31 curt
|
||||||
* Additional win32 support.
|
* Additional win32 support.
|
||||||
*
|
*
|
||||||
|
@ -66,7 +69,12 @@
|
||||||
#endif // WIN32
|
#endif // WIN32
|
||||||
|
|
||||||
#if defined( HAVE_GETRUSAGE )
|
#if defined( HAVE_GETRUSAGE )
|
||||||
|
# if defined( __FreeBSD__ )
|
||||||
|
# include <sys/types.h>
|
||||||
|
# endif
|
||||||
|
# include <sys/time.h>
|
||||||
# include <sys/resource.h>
|
# include <sys/resource.h>
|
||||||
|
# include <unistd.h>
|
||||||
#elif defined( WIN32 )
|
#elif defined( WIN32 )
|
||||||
# include <windows.h>
|
# include <windows.h>
|
||||||
#else
|
#else
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
||||||
#ifdef __linux__
|
#if defined(__linux__) || defined(__FreeBSD__)
|
||||||
#define SL_USING_OSS_AUDIO 1
|
#define SL_USING_OSS_AUDIO 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue