From http://www.jwz.org/xscreensaver/xscreensaver-5.16.tar.gz
[xscreensaver] / hacks / glx / glut_stroke.c
index 5ff3de5cfda27552e0be93b0db1fbd7178ce5f6f..455e3db0dd4da49a4957f646fd3fc34b67d66149 100644 (file)
 # ifdef HAVE_CONFIG_H
 #  include "config.h"
 # endif
-# ifdef HAVE_COCOA
-#  include <OpenGL/gl.h>
-# else
+# ifndef HAVE_COCOA
 #  include <GL/gl.h>
 # endif
+# ifdef HAVE_JWZGLES
+#  include "jwzgles.h"
+# endif /* HAVE_JWZGLES */
 # undef APIENTRY
 # define APIENTRY /**/
 #endif