diff options
Diffstat (limited to 'test/headerguards.c')
-rw-r--r-- | test/headerguards.c | 43 |
1 files changed, 26 insertions, 17 deletions
diff --git a/test/headerguards.c b/test/headerguards.c index 732a0b9..866b506 100644 --- a/test/headerguards.c +++ b/test/headerguards.c @@ -21,31 +21,40 @@ * IN THE SOFTWARE. */ +#include <config.h> + #include <epoxy/gl.h> -#if EPOXY_SUPPORT_EGL - #include <epoxy/egl.h> - #include <epoxy/egl.h> +#ifdef BUILD_EGL +#include <epoxy/egl.h> +#include <epoxy/egl.h> +#endif + +#ifdef BUILD_GLX +#include <epoxy/glx.h> +#include <epoxy/glx.h> #endif -#if EPOXY_SUPPORT_GLX - #include <epoxy/glx.h> - #include <epoxy/glx.h> +#ifdef BUILD_EGL +#include <EGL/egl.h> +#include <EGL/egl.h> +#include <EGL/eglext.h> +#include <EGL/eglext.h> #endif -#if EPOXY_SUPPORT_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> +#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 -int main(void) +int main(int argc, char **argv) { return 0; } |