From d6e4e9ac4c93ac517e8ef98d8dbcb1867b483229 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 11 Dec 2013 16:53:36 -0800 Subject: [PATCH] Fix the build of the headerguards test on OS X. --- test/headerguards.c | 5 +++++ 1 file changed, 5 insertions(+) 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 +#include +#else #include #include +#endif #include #include #endif