http://slackware.bholcomb.com/slackware/slackware-11.0/source/xap/xscreensaver/xscree...
[xscreensaver] / hacks / glx / marching.c
index ee5e81e245eb3b00d296d7854da7eee5dbce7349..afddac8d2b0c5a230a9d0d3b49b0f52953dbffdb 100644 (file)
  * http://astronomy.swin.edu.au/~pbourke/modelling/polygonise/
  */
 
-#include "config.h"
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
 #include <stdlib.h>
 #include <stdio.h>
 #include <math.h>
-#include <GL/gl.h>
+
+#ifdef HAVE_COCOA
+# include <OpenGL/gl.h>
+#else
+# include <GL/gl.h>
+#endif
+
 #include "marching.h"
 #include "normals.h"