]> git.mxchange.org Git - simgear.git/blobdiff - XGL/xgl.h
Small tweak for correct win32 compiling.
[simgear.git] / XGL / xgl.h
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 ;