Fix mac build.
This commit is contained in:
parent
d10bcc8a53
commit
cc4b16b50d
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user