summaryrefslogtreecommitdiffstats
path: root/src/mapi/glapi
diff options
context:
space:
mode:
authorDylan Baker <[email protected]>2017-11-07 09:40:06 -0800
committerDylan Baker <[email protected]>2018-02-06 15:00:17 -0800
commit9be7487f3076b2470ca547e2d9d7d54492718090 (patch)
tree1f832071e852e8ed7f176bf982de243f5382ffa0 /src/mapi/glapi
parente7a4536e648b37f10a4501f9d295be70b8900269 (diff)
glapi: don't walk backwards for includes
Instead just set the proper -I flags and include it from a more standard path. In this case we'll add -Isrc/mesa (which is common), and #include main/foo.h. Signed-off-by: Dylan Baker <[email protected]> Reviewed-by: Eric Engestrom <[email protected]> Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/mapi/glapi')
-rw-r--r--src/mapi/glapi/tests/check_table.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mapi/glapi/tests/check_table.cpp b/src/mapi/glapi/tests/check_table.cpp
index 09bf4f3585c..62b3a43d22f 100644
--- a/src/mapi/glapi/tests/check_table.cpp
+++ b/src/mapi/glapi/tests/check_table.cpp
@@ -22,7 +22,7 @@
*/
#include <gtest/gtest.h>
-#include "../mesa/main/glheader.h"
+#include "main/glheader.h"
extern "C" {
#include "glapi/glapi.h"