1
0
Fork 0

GCC 4.7 compile fix.

Addresses:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=667167
This commit is contained in:
James Turner 2013-09-14 17:37:45 +01:00
parent 38a373ba84
commit 66423605f1

View file

@ -26,13 +26,18 @@
#include <config.h> #include <config.h>
#endif #endif
#include <simgear/simgear_config.h>
#ifdef HAVE_WINDOWS_H #ifdef HAVE_WINDOWS_H
#include <windows.h> #include <windows.h>
#endif #endif
#ifdef HAVE_UNISTD_H
#include "unistd.h"
#endif
#ifdef __MINGW32__ #ifdef __MINGW32__
# include <time.h> # include <time.h>
#include <unistd.h>
#elif defined(_MSC_VER) #elif defined(_MSC_VER)
# include <io.h> # include <io.h>
#endif #endif