summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2014-10-29 11:52:03 +0000
committerJosé Fonseca <jfonseca@vmware.com>2014-10-29 15:19:50 +0000
commit8c121bf8480dff41710f6d0ad7ae91c9ebd4ef02 (patch)
tree6d4c90a52cac3d67bc4a5a0bdb00c04e27d2b1ce
parent0784e54b75918b94ac974197b736c53ccba69ff1 (diff)
polygon-offset: Fix GLU include on MacOSX.
Trivial.
-rw-r--r--tests/spec/gl-1.4/polygon-offset.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/spec/gl-1.4/polygon-offset.c b/tests/spec/gl-1.4/polygon-offset.c
index c8638f85f..e14bf0535 100644
--- a/tests/spec/gl-1.4/polygon-offset.c
+++ b/tests/spec/gl-1.4/polygon-offset.c
@@ -76,7 +76,12 @@
*/
#include "piglit-util-gl.h"
-#include <GL/glu.h>
+
+#if defined(__APPLE__)
+# include <OpenGL/glu.h>
+#else
+# include <GL/glu.h>
+#endif
#include <math.h>