]> git.mxchange.org Git - simgear.git/commitdiff
Fix mac build.
authorMathias Froehlich <Mathias.Froehlich@web.de>
Fri, 28 Oct 2011 17:10:20 +0000 (19:10 +0200)
committerMathias Froehlich <Mathias.Froehlich@web.de>
Fri, 28 Oct 2011 17:10:20 +0000 (19:10 +0200)
simgear/timing/timestamp.cxx

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