From 4ccc2b3cfcd75ff29779458aee4b24d9bb7fa8ae Mon Sep 17 00:00:00 2001 From: curt Date: Wed, 20 May 1998 20:50:28 +0000 Subject: [PATCH] Small tweak for correct win32 compiling. --- XGL/xgl.h | 13 +++++++++---- XGL/xglUtils.c | 4 ++++ 2 files changed, 13 insertions(+), 4 deletions(-) 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 -- 2.39.2