From: curt Date: Fri, 20 Nov 1998 00:59:23 +0000 (+0000) Subject: FreeBSD support. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=62ca2e02270de2c4359c82ff751cd733332422c5;p=flightgear.git FreeBSD support. --- diff --git a/Misc/stopwatch.hxx b/Misc/stopwatch.hxx index e4034ac88..d3bcfade4 100644 --- a/Misc/stopwatch.hxx +++ b/Misc/stopwatch.hxx @@ -25,6 +25,9 @@ * *************************************************************************** * $Log$ + * Revision 1.3 1998/11/20 01:01:03 curt + * FreeBSD support. + * * Revision 1.2 1998/11/02 18:28:31 curt * Additional win32 support. * @@ -66,7 +69,12 @@ #endif // WIN32 #if defined( HAVE_GETRUSAGE ) +# if defined( __FreeBSD__ ) +# include +# endif +# include # include +# include #elif defined( WIN32 ) # include #else diff --git a/src/slPortability.h b/src/slPortability.h index 88c1cbcc8..08d780c14 100644 --- a/src/slPortability.h +++ b/src/slPortability.h @@ -31,7 +31,7 @@ #include #include -#ifdef __linux__ +#if defined(__linux__) || defined(__FreeBSD__) #define SL_USING_OSS_AUDIO 1 #endif