Fix mac build.

This commit is contained in:
Mathias Froehlich 2011-10-28 19:10:20 +02:00
parent d10bcc8a53
commit cc4b16b50d

View File

@ -31,6 +31,7 @@
#include <simgear/compiler.h> #include <simgear/compiler.h>
#include <ctime> #include <ctime>
#include <cerrno>
#ifdef HAVE_SYS_TIMEB_H #ifdef HAVE_SYS_TIMEB_H
# include <sys/timeb.h> // for ftime() and struct timeb # include <sys/timeb.h> // for ftime() and struct timeb
@ -44,7 +45,6 @@
#if defined(_POSIX_TIMERS) && (0 < _POSIX_TIMERS) #if defined(_POSIX_TIMERS) && (0 < _POSIX_TIMERS)
# include <time.h> # include <time.h>
# include <errno.h>
#endif #endif
#ifdef WIN32 #ifdef WIN32