GCC 4.7 compile fix.
Addresses: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=667167
This commit is contained in:
parent
38a373ba84
commit
66423605f1
1 changed files with 7 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue