Commit b7748851ca01f920294a828bf046ab34d429a979

henry 2001-12-11T23:04:25

fixed glut header for OSX

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
diff --git a/demo/tb.c b/demo/tb.c
index b3dd01e..7c4ad8e 100644
--- a/demo/tb.c
+++ b/demo/tb.c
@@ -8,7 +8,11 @@
 /* includes */
 #include <math.h>
 #include <assert.h>
-#include <GL/glut.h>
+#ifdef __APPLE_CC__
+	#include <GLUT/glut.h>
+#else
+	#include <GL/glut.h>
+#endif
 #include "tb.h"
 #include "trackball.h"