projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
http://www.jwz.org/xscreensaver/xscreensaver-5.10.tar.gz
[xscreensaver]
/
hacks
/
glx
/
marching.c
diff --git
a/hacks/glx/marching.c
b/hacks/glx/marching.c
index ee5e81e245eb3b00d296d7854da7eee5dbce7349..afddac8d2b0c5a230a9d0d3b49b0f52953dbffdb 100644
(file)
--- a/
hacks/glx/marching.c
+++ b/
hacks/glx/marching.c
@@
-13,11
+13,20
@@
* http://astronomy.swin.edu.au/~pbourke/modelling/polygonise/
*/
* http://astronomy.swin.edu.au/~pbourke/modelling/polygonise/
*/
-#include "config.h"
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
-#include <GL/gl.h>
+
+#ifdef HAVE_COCOA
+# include <OpenGL/gl.h>
+#else
+# include <GL/gl.h>
+#endif
+
#include "marching.h"
#include "normals.h"
#include "marching.h"
#include "normals.h"