diff options
author | Eric Anholt <eric@anholt.net> | 2013-12-11 16:53:36 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2013-12-11 17:18:28 -0800 |
commit | d6e4e9ac4c93ac517e8ef98d8dbcb1867b483229 (patch) | |
tree | 88a59a7a3319875a06538a5627250efcc163d1ee /test/headerguards.c | |
parent | d82c5c33a6ba5a1714678e0b0f21eb265b0eaab8 (diff) | |
download | libepoxy-d6e4e9ac4c93ac517e8ef98d8dbcb1867b483229.tar.gz |
Fix the build of the headerguards test on OS X.
Diffstat (limited to 'test/headerguards.c')
-rw-r--r-- | test/headerguards.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/headerguards.c b/test/headerguards.c index d3e4445..c4ba195 100644 --- a/test/headerguards.c +++ b/test/headerguards.c @@ -39,8 +39,13 @@ #endif #ifdef BUILD_GLX +#ifdef __APPLE__ +#include <OpenGL/gl.h> +#include <OpenGL/glext.h> +#else #include <GL/gl.h> #include <GL/glext.h> +#endif #include <GL/glx.h> #include <GL/glxext.h> #endif |