X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Ffreeglut_internal.h;h=a6a4a76d0fdb7a961b277e331a52633bb7eb44df;hb=f075b2126dff4d88bc2811281f0d27e7c0581ab4;hp=b9cc63244dda6c4f28b6f768be443c62b5f6c6fc;hpb=0fd65e65061141e7317caba38801580374f09d0b;p=freeglut diff --git a/src/freeglut_internal.h b/src/freeglut_internal.h index b9cc632..a6a4a76 100644 --- a/src/freeglut_internal.h +++ b/src/freeglut_internal.h @@ -28,7 +28,7 @@ #ifndef FREEGLUT_INTERNAL_H #define FREEGLUT_INTERNAL_H -#ifdef HAVE_CONFIG_H +#if HAVE_CONFIG_H # include "config.h" #endif @@ -73,10 +73,21 @@ #include #include #include -#include -#if TARGET_HOST_UNIX_X11 -#include -#include +#if HAVE_SYS_TYPES_H +# include +#endif +#if HAVE_UNISTD_H +# include +#endif +#if TIME_WITH_SYS_TIME +# include +# include +#else +# if HAVE_SYS_TIME_H +# include +# else +# include +# endif #endif /* The system-dependant include files should go here: */