summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/glx/tests/Makefile.am1
-rw-r--r--src/glx/tests/enum_sizes.cpp2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/glx/tests/Makefile.am b/src/glx/tests/Makefile.am
index a41759b863..aab93e732a 100644
--- a/src/glx/tests/Makefile.am
+++ b/src/glx/tests/Makefile.am
@@ -5,6 +5,7 @@ AM_CPPFLAGS = \
-I$(top_srcdir)/src \
-I$(top_srcdir)/src/mapi \
-I$(top_srcdir)/src/mesa \
+ -I$(top_builddir)/src/glx \
-I$(top_srcdir)/src/glx \
-I$(top_srcdir)/include \
-I$(top_srcdir)/include/GL/internal \
diff --git a/src/glx/tests/enum_sizes.cpp b/src/glx/tests/enum_sizes.cpp
index 20fc75879c..6119dcbc43 100644
--- a/src/glx/tests/enum_sizes.cpp
+++ b/src/glx/tests/enum_sizes.cpp
@@ -36,7 +36,7 @@
#include <gtest/gtest.h>
#include <GL/gl.h>
extern "C" {
-#include "../indirect_size.h"
+#include "indirect_size.h"
}
TEST(ValidEnumSizes, CallLists)