summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDylan Baker <[email protected]>2017-10-23 16:09:41 -0700
committerDylan Baker <[email protected]>2017-10-27 11:06:07 -0700
commitea53d9a8eb5d4b2363c3d302dde8bf4143ef0c14 (patch)
treedca14c55b7511d203cb379998717f8c6e4436450 /src
parent5daed06da2c0aaa48a93439bfdb63818786bc278 (diff)
glapi: include generated headers without path
This has been tested wtih make dist-check and with meson. Signed-off-by: Dylan Baker <[email protected]> Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/mapi/glapi/glapi_dispatch.c2
-rw-r--r--src/mapi/glapi/glapi_getproc.c4
-rw-r--r--src/mapi/glapi/glapi_nop.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/mapi/glapi/glapi_dispatch.c b/src/mapi/glapi/glapi_dispatch.c
index df907ff9d6a..269adc7ea00 100644
--- a/src/mapi/glapi/glapi_dispatch.c
+++ b/src/mapi/glapi/glapi_dispatch.c
@@ -38,7 +38,7 @@
*/
#include "glapi/glapi_priv.h"
-#include "glapi/glapitable.h"
+#include "glapitable.h"
#if !(defined(USE_X86_ASM) || defined(USE_X86_64_ASM) || defined(USE_SPARC_ASM))
diff --git a/src/mapi/glapi/glapi_getproc.c b/src/mapi/glapi/glapi_getproc.c
index a6b2455f1d5..d3fd3f82dcd 100644
--- a/src/mapi/glapi/glapi_getproc.c
+++ b/src/mapi/glapi/glapi_getproc.c
@@ -34,7 +34,7 @@
#include <string.h>
#include <stdlib.h>
#include "glapi/glapi_priv.h"
-#include "glapi/glapitable.h"
+#include "glapitable.h"
#define FIRST_DYNAMIC_OFFSET (sizeof(struct _glapi_table) / sizeof(void *))
@@ -49,7 +49,7 @@
#if !defined(DISPATCH_FUNCTION_SIZE)
# define NEED_FUNCTION_POINTER
#endif
-#include "glapi/glprocs.h"
+#include "glprocs.h"
/**
diff --git a/src/mapi/glapi/glapi_nop.c b/src/mapi/glapi/glapi_nop.c
index 13db310b303..2e130e63ebc 100644
--- a/src/mapi/glapi/glapi_nop.c
+++ b/src/mapi/glapi/glapi_nop.c
@@ -116,7 +116,7 @@ NoOpUnused(void)
#define DISPATCH_TABLE_NAME __glapi_noop_table
#define UNUSED_TABLE_NAME __unused_noop_functions
-#include "glapi/glapitemp.h"
+#include "glapitemp.h"
/** Return pointer to new dispatch table filled with no-op functions */