]> git.mxchange.org Git - flightgear.git/blobdiff - tests/est-epsilon.c
don't define constant objects in header files
[flightgear.git] / tests / est-epsilon.c
index ea4fa3572f13aa323fec3dd8d2f6251e0ba8666d..5ff0a8aca8a763065d14032b7d4476100c58678d 100644 (file)
@@ -1,5 +1,19 @@
+#ifdef HAVE_CONFIG_H
+#  include <config.h>
+#endif
+
+#ifdef HAVE_WINDOWS_H
+#  include <windows.h>
+#endif
+
 #include <stdio.h>
-#include <GL/glut.h>
+
+#include <simgear/compiler.h>
+#if defined( __APPLE__)
+# include <OpenGL/OpenGL.h>
+#else
+# include <GL/gl.h>
+#endif
 
 int main() {
     GLfloat a, t;