From http://www.jwz.org/xscreensaver/xscreensaver-5.16.tar.gz
[xscreensaver] / hacks / glx / buildlwo.h
index 89c93e342c4daf044c0b5863b79303a2970d8764..4b9008186f0b8d3a276a9e8b1adb5c78befebeea 100644 (file)
@@ -9,14 +9,20 @@
 #ifndef __BUILD_LWO_H__
 #define __BUILD_LWO_H__
 
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif /* HAVE_CONFIG_H */
+
 #ifdef STANDALONE
-# 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 */
+
 struct lwo {
        int             num_pnts;
        const GLfloat  *pnts;