]> git.mxchange.org Git - simgear.git/commitdiff
Fix for FreeBSD.
authorcurt <curt>
Wed, 6 Feb 2002 01:04:38 +0000 (01:04 +0000)
committercurt <curt>
Wed, 6 Feb 2002 01:04:38 +0000 (01:04 +0000)
simgear/timing/sg_time.cxx

index 66ac4970805606ff6f010cd753786dfff4c5ecb2..f46d5da044d0cb0f9728dc9e0378e6dc1e609b9d 100644 (file)
 #  include <stdlib.h>
 #endif
 
+#ifdef HAVE_SYS_TIME_H
+#  include <sys/time.h>  // for get/setitimer, gettimeofday, struct timeval
+#endif
 #ifdef HAVE_SYS_TIMEB_H
 #  include <sys/timeb.h> // for ftime() and struct timeb
 #endif
 #ifdef HAVE_UNISTD_H
 #  include <unistd.h>    // for gettimeofday()
 #endif
-#ifdef HAVE_SYS_TIME_H
-#  include <sys/time.h>  // for get/setitimer, gettimeofday, struct timeval
-#endif
 
 #include <math.h>        // for NAN