From http://www.jwz.org/xscreensaver/xscreensaver-5.16.tar.gz
[xscreensaver] / hacks / glx / dropshadow.h
index 6328d16204fdc1e9ababc0882b01279e5d90914c..212a0c6567ef4bb1b32c0ce9a550dab5bceab2b4 100644 (file)
 #ifndef __DROPSHADOW_H__
 #define __DROPSHADOW_H__
 
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif /* HAVE_CONFIG_H */
+
 #ifdef HAVE_COCOA
-# include <OpenGL/gl.h>
-#else  /* !HAVE_COCOA -- real Xlib */
+# ifndef HAVE_JWZGLES
+#  include <OpenGL/glu.h>
+# endif
+#else /* !HAVE_COCOA */
 # include <GL/gl.h>
+# include <GL/glu.h>
 #endif /* !HAVE_COCOA */
 
+#ifdef HAVE_JWZGLES
+# include "jwzgles.h"
+#endif /* HAVE_JWZGLES */
+
 /* Initialize drop shadow texture, return a texture ID.
  */
 GLuint