diff options
author | José Fonseca <jfonseca@vmware.com> | 2014-10-29 11:52:03 +0000 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2014-10-29 15:19:50 +0000 |
commit | 8c121bf8480dff41710f6d0ad7ae91c9ebd4ef02 (patch) | |
tree | 6d4c90a52cac3d67bc4a5a0bdb00c04e27d2b1ce | |
parent | 0784e54b75918b94ac974197b736c53ccba69ff1 (diff) |
polygon-offset: Fix GLU include on MacOSX.
Trivial.
-rw-r--r-- | tests/spec/gl-1.4/polygon-offset.c | 7 |
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> |