glapi: don't walk backwards for includes
authorDylan Baker <dylan@pnwbakers.com>
Tue, 7 Nov 2017 17:40:06 +0000 (09:40 -0800)
committerDylan Baker <dylan@pnwbakers.com>
Tue, 6 Feb 2018 23:00:17 +0000 (15:00 -0800)
commit9be7487f3076b2470ca547e2d9d7d54492718090
tree1f832071e852e8ed7f176bf982de243f5382ffa0
parente7a4536e648b37f10a4501f9d295be70b8900269
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 <dylanx.c.baker@intel.com>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/mapi/Makefile.am
src/mapi/glapi/tests/check_table.cpp