X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Ffreeglut_internal.h;h=17509adb00a97e658e504db0cfaa5618c0b13cb5;hb=db165b756c33137939afe0d77b8c01d120892693;hp=b9cc63244dda6c4f28b6f768be443c62b5f6c6fc;hpb=0fd65e65061141e7317caba38801580374f09d0b;p=freeglut diff --git a/src/freeglut_internal.h b/src/freeglut_internal.h index b9cc632..17509ad 100644 --- a/src/freeglut_internal.h +++ b/src/freeglut_internal.h @@ -74,9 +74,21 @@ #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: */