From http://www.jwz.org/xscreensaver/xscreensaver-5.16.tar.gz
[xscreensaver] / hacks / glx / normals.h
index 8d9f6fe110e03b1f87e563f0ee88144bde33ecbf..a707a0c94871f2706d621461ce2c61522270a2e0 100644 (file)
@@ -1,4 +1,4 @@
-/* normals, Copyright (c) 2002-2004 Jamie Zawinski <jwz@jwz.org>
+/* normals, Copyright (c) 2002-2012 Jamie Zawinski <jwz@jwz.org>
  *
  * Permission to use, copy, modify, distribute, and sell this software and its
  * documentation for any purpose is hereby granted without fee, provided that
 #ifndef __NORMALS_H__
 #define __NORMALS_H__
 
-#ifdef HAVE_COCOA
-# include <OpenGL/gl.h>
-#else
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif /* HAVE_CONFIG_H */
+
+#ifndef HAVE_COCOA
 # include <GL/gl.h>
 #endif
 
+#ifdef HAVE_JWZGLES
+# include "jwzgles.h"
+#endif /* HAVE_JWZGLES */
+
 typedef struct {
   double x,y,z;
 } XYZ;