summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2014-01-22 00:58:23 -0800
committerEric Anholt <eric@anholt.net>2014-01-22 01:05:59 -0800
commit7f68641d1b3bc1b3336d846f4ecf7620cde22f82 (patch)
tree990ad38265634641352340e305e6d78ddf24d2a3
parentf10bff9bc04a82562e8ea5842effe411a8b3f884 (diff)
Make headerguards check for double-inclusion of our own headers.
Since I was touching these bits, it was easy enough to make sure that our header guards work on our own headers.
-rw-r--r--test/headerguards.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/headerguards.c b/test/headerguards.c
index c4ba195..866b506 100644
--- a/test/headerguards.c
+++ b/test/headerguards.c
@@ -27,14 +27,18 @@
#ifdef BUILD_EGL
#include <epoxy/egl.h>
+#include <epoxy/egl.h>
#endif
#ifdef BUILD_GLX
#include <epoxy/glx.h>
+#include <epoxy/glx.h>
#endif
#ifdef BUILD_EGL
#include <EGL/egl.h>
+#include <EGL/egl.h>
+#include <EGL/eglext.h>
#include <EGL/eglext.h>
#endif