X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Ffreeglut_internal.h;h=effb2e0847260295d830aee9523d1f0609ea3862;hb=10c6a55939634438c5a2624fb1bb9ea86a520285;hp=c1d8b4e490f1f02b5fa4f08d06c2873f1912ecc2;hpb=c035e95ca2ff3cf106de4b07a84e4ba6d073a877;p=freeglut diff --git a/src/freeglut_internal.h b/src/freeglut_internal.h index c1d8b4e..effb2e0 100644 --- a/src/freeglut_internal.h +++ b/src/freeglut_internal.h @@ -28,6 +28,10 @@ #ifndef FREEGLUT_INTERNAL_H #define FREEGLUT_INTERNAL_H +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + /* XXX Update these for each release! */ #define VERSION_MAJOR 2 #define VERSION_MINOR 2 @@ -72,7 +76,16 @@ #include #if TARGET_HOST_UNIX_X11 #include -#include +# if TIME_WITH_SYS_TIME +# include +# include +# else +# if HAVE_SYS_TIME_H +# include +# else +# include +# endif +# endif #endif /* The system-dependant include files should go here: */