From http://www.jwz.org/xscreensaver/xscreensaver-5.16.tar.gz
[xscreensaver] / hacks / glx / glut_swidth.c
index c94927b026504437e8f8f26d9eb0ecd852a15e04..185571d167cd31e0da097c10e97adad56c4741b8 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
+# endif
+# ifdef HAVE_JWZGLES
+#  include "jwzgles.h"
+# endif /* HAVE_JWZGLES */
 # undef APIENTRY
 # define APIENTRY /**/
 #endif