]> git.mxchange.org Git - simgear.git/commitdiff
Small tweak for correct win32 compiling.
authorcurt <curt>
Wed, 20 May 1998 20:50:28 +0000 (20:50 +0000)
committercurt <curt>
Wed, 20 May 1998 20:50:28 +0000 (20:50 +0000)
XGL/xgl.h
XGL/xglUtils.c

index 17edd57e9132a36296108104f7250a5851fc1f7e..6cd81b6f8088c390b1141c140269ddb2fd095fb5 100644 (file)
--- 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 <windows.h>
+#endif
 
 #include <GL/gl.h>
 #include <GL/glu.h>
 #include <stdio.h>
 
+
+#ifdef __cplusplus                                                          
+extern "C" {                            
+#endif                                   
+
+
 /* xgl Utilities */
 
 extern FILE *xglTraceFd ;
index fe14d63646a0285332f491c2620241a4f033e1de..f9fc24fc24114ad5e2842ac41f2cb35221fabd5f 100644 (file)
@@ -1,4 +1,8 @@
 
+#ifdef HAVE_CONFIG_H
+#  include <config.h>
+#endif
+
 #include <stdio.h>
 #include <stdlib.h>