From http://www.jwz.org/xscreensaver/xscreensaver-5.16.tar.gz
[xscreensaver] / hacks / glx / bubble3d.h
index 3cdcef32f4d86933d31fde57a79a7ff143b4b02a..70919c347a04503c6838ef8580dc699331fa9051 100644 (file)
@@ -3,6 +3,10 @@
 #ifndef __bubbles3d_h__
 #define __bubbles3d_h__
 
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif /* HAVE_CONFIG_H */
+
 #ifdef STANDALONE
 # include <math.h>
 # include "xlockmoreI.h"       /* from the xscreensaver distribution */
 # include "xlock.h"            /* from the xlockmore distribution */
 #endif /* !STANDALONE */
 
-#ifdef HAVE_COCOA
-# include <OpenGL/gl.h>
-# include <OpenGL/glu.h>
-#else
+#ifndef HAVE_COCOA
 # include <GL/gl.h>
 # include <GL/glu.h>
 #endif
 
+#ifdef HAVE_JWZGLES
+# include "jwzgles.h"
+#endif /* HAVE_JWZGLES */
+
 /* Static configuration. */
 #define GLB_SLOW_GL          0 /* Set this if you have a slow GL
                                   * implementation. If you have an accelerated