OSDN Git Service

glapi: Don't search through subdirs from glapitable.h
authorDylan Baker <dylan@pnwbakers.com>
Mon, 20 Nov 2017 22:54:30 +0000 (14:54 -0800)
committerDylan Baker <dylan@pnwbakers.com>
Tue, 6 Feb 2018 23:00:17 +0000 (15:00 -0800)
Because meson won't put it in that folder.

Signed-off-by: Dylan Baker <dylan.c.baker@intel.com>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/mapi/glapi/tests/check_table.cpp
src/mesa/main/tests/Makefile.am

index 30f523c..6230f12 100644 (file)
@@ -25,7 +25,7 @@
 #include "main/glheader.h"
 
 #include "glapi/glapi.h"
-#include "glapi/glapitable.h"
+#include "glapitable.h"
 
 struct name_offset {
    const char *name;
index a8395d9..94266a1 100644 (file)
@@ -4,6 +4,8 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/gtest/include \
        -I$(top_srcdir)/src \
        -I$(top_srcdir)/src/mapi \
+       -I$(top_builddir)/src/mapi/glapi \
+       -I$(top_srcdir)/src/mapi/glapi \
        -I$(top_builddir)/src/mesa \
        -I$(top_srcdir)/src/mesa \
        -I$(top_srcdir)/include \