From: curt Date: Wed, 6 Feb 2002 01:04:38 +0000 (+0000) Subject: Fix for FreeBSD. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b1c4d34eef6baaef19439c7b4fc5a9d75e5931fd;p=simgear.git Fix for FreeBSD. --- diff --git a/simgear/timing/sg_time.cxx b/simgear/timing/sg_time.cxx index 66ac4970..f46d5da0 100644 --- a/simgear/timing/sg_time.cxx +++ b/simgear/timing/sg_time.cxx @@ -40,15 +40,15 @@ # include #endif +#ifdef HAVE_SYS_TIME_H +# include // for get/setitimer, gettimeofday, struct timeval +#endif #ifdef HAVE_SYS_TIMEB_H # include // for ftime() and struct timeb #endif #ifdef HAVE_UNISTD_H # include // for gettimeofday() #endif -#ifdef HAVE_SYS_TIME_H -# include // for get/setitimer, gettimeofday, struct timeval -#endif #include // for NAN