]> git.mxchange.org Git - flightgear.git/commitdiff
FreeBSD support.
authorcurt <curt>
Fri, 20 Nov 1998 00:59:23 +0000 (00:59 +0000)
committercurt <curt>
Fri, 20 Nov 1998 00:59:23 +0000 (00:59 +0000)
Misc/stopwatch.hxx
src/slPortability.h

index e4034ac88f8a4c12233bc476ea4b1923f55fe40a..d3bcfade467064d311838940f8651c840710013d 100644 (file)
@@ -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.
  *
 #endif // WIN32
 
 #if defined( HAVE_GETRUSAGE )
+#  if defined( __FreeBSD__ )
+#    include <sys/types.h>
+#  endif 
+#  include <sys/time.h>
 #  include <sys/resource.h>
+#  include <unistd.h>
 #elif defined( WIN32 )
 #  include <windows.h>
 #else
index 88c1cbcc8daac03cbd51b7df545cce576fa3a396..08d780c144f40bc3cafee85920ed30d4bf9bfe92 100644 (file)
@@ -31,7 +31,7 @@
 #include <string.h>
 #include <math.h>
 
-#ifdef __linux__
+#if defined(__linux__) || defined(__FreeBSD__)
 #define SL_USING_OSS_AUDIO 1
 #endif