]> git.mxchange.org Git - simgear.git/blobdiff - XGL/xgl.c
Added point3d.hxx to replace cheezy fgPoint3d struct.
[simgear.git] / XGL / xgl.c
index 0763f39fe84e9f769f7f910f0fc9f2a97a1d8240..653805240e350521569408ddc8b60d5f0e814469 100644 (file)
--- a/XGL/xgl.c
+++ b/XGL/xgl.c
@@ -1,15 +1,22 @@
-#include <stdio.h>
-#include <stdlib.h>
+#ifdef HAVE_CONFIG_H
+#  include <config.h>
+#endif
 
-#ifdef WIN32
+#ifdef HAVE_WINDOWS_H
 #  include <windows.h>
-#else
-#  include <unistd.h>
 #endif
 
 #include "xgl.h"
 #include <GL/glut.h>
 
+#include <stdio.h>
+#include <stdlib.h>
+
+#ifdef HAVE_UNISTD_H
+#  include <unistd.h>
+#endif
+
+
 #ifdef XGL_TRACE
 
 #ifndef TRUE