From: curt Date: Wed, 20 May 1998 20:50:28 +0000 (+0000) Subject: Small tweak for correct win32 compiling. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4ccc2b3cfcd75ff29779458aee4b24d9bb7fa8ae;p=simgear.git Small tweak for correct win32 compiling. --- diff --git a/XGL/xgl.h b/XGL/xgl.h index 17edd57e..6cd81b6f 100644 --- a/XGL/xgl.h +++ b/XGL/xgl.h @@ -2,15 +2,20 @@ #define _XGL_H -#ifdef __cplusplus -extern "C" { -#endif - +#ifdef HAVE_WINDOWS_H +# include +#endif #include #include #include + +#ifdef __cplusplus +extern "C" { +#endif + + /* xgl Utilities */ extern FILE *xglTraceFd ; diff --git a/XGL/xglUtils.c b/XGL/xglUtils.c index fe14d636..f9fc24fc 100644 --- a/XGL/xglUtils.c +++ b/XGL/xglUtils.c @@ -1,4 +1,8 @@ +#ifdef HAVE_CONFIG_H +# include +#endif + #include #include