diff options
author | Dylan Baker <[email protected]> | 2017-10-04 15:33:18 -0700 |
---|---|---|
committer | Dylan Baker <[email protected]> | 2017-10-09 13:42:43 -0700 |
commit | 1b1bb6ee103a79de11aa4941ccbcd34f0a158276 (patch) | |
tree | 79e6d4406a3747949f59e651876da6aaec03076e /src | |
parent | e5866af123ac13bcd8ac79989d711441952d8056 (diff) |
make: Don't traverse backwards through include directories.
Traversing back through includes is bad idea and should be avoided.
In the case here - indirect_size.h is located in the build directory
$(top_builddir)/src/glx/.
v3: - Update commit message with message provided by Emil
Signed-off-by: Dylan Baker <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/glx/tests/Makefile.am | 1 | ||||
-rw-r--r-- | src/glx/tests/enum_sizes.cpp | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/glx/tests/Makefile.am b/src/glx/tests/Makefile.am index a41759b863e..aab93e732a3 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 20fc75879c0..6119dcbc43a 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) |