diff options
author | Eric Engestrom <[email protected]> | 2019-02-12 18:18:03 +0000 |
---|---|---|
committer | Eric Engestrom <[email protected]> | 2019-02-14 11:20:00 +0000 |
commit | f1374805a86d0d506557e61efbc09e23caa7a038 (patch) | |
tree | 8227048a718d8080b00c1f1a9817033ce38e6cd9 /src/gallium/drivers/nouveau | |
parent | 69e4c273c44118f46fd496af5124ddf45b86e868 (diff) |
drm-uapi: use local files, not system libdrm
There was an issue recently caused by the system header being included
by mistake, so let's just get rid of this include path and always
explicitly #include "drm-uapi/FOO.h"
Signed-off-by: Eric Engestrom <[email protected]>
Reviewed-by: Kristian H. Kristensen <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nouveau')
-rw-r--r-- | src/gallium/drivers/nouveau/Android.mk | 2 | ||||
-rw-r--r-- | src/gallium/drivers/nouveau/Makefile.am | 2 | ||||
-rw-r--r-- | src/gallium/drivers/nouveau/meson.build | 2 | ||||
-rw-r--r-- | src/gallium/drivers/nouveau/nouveau_winsys.h | 2 | ||||
-rw-r--r-- | src/gallium/drivers/nouveau/nvc0/nvc0_miptree.c | 2 | ||||
-rw-r--r-- | src/gallium/drivers/nouveau/nvc0/nvc0_resource.c | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/src/gallium/drivers/nouveau/Android.mk b/src/gallium/drivers/nouveau/Android.mk index a446774a86e..cd2dd0938f4 100644 --- a/src/gallium/drivers/nouveau/Android.mk +++ b/src/gallium/drivers/nouveau/Android.mk @@ -37,7 +37,7 @@ LOCAL_SRC_FILES := \ $(NVC0_C_SOURCES) LOCAL_C_INCLUDES := \ - $(MESA_TOP)/include/drm-uapi + $(MESA_TOP)/include LOCAL_SHARED_LIBRARIES := libdrm_nouveau LOCAL_MODULE := libmesa_pipe_nouveau diff --git a/src/gallium/drivers/nouveau/Makefile.am b/src/gallium/drivers/nouveau/Makefile.am index f6126b54481..48c0fdf512d 100644 --- a/src/gallium/drivers/nouveau/Makefile.am +++ b/src/gallium/drivers/nouveau/Makefile.am @@ -24,7 +24,7 @@ include Makefile.sources include $(top_srcdir)/src/gallium/Automake.inc AM_CPPFLAGS = \ - -I$(top_srcdir)/include/drm-uapi \ + -I$(top_srcdir)/include \ $(GALLIUM_DRIVER_CFLAGS) \ $(LIBDRM_CFLAGS) \ $(NOUVEAU_CFLAGS) diff --git a/src/gallium/drivers/nouveau/meson.build b/src/gallium/drivers/nouveau/meson.build index 242ee0e0001..4192967f82d 100644 --- a/src/gallium/drivers/nouveau/meson.build +++ b/src/gallium/drivers/nouveau/meson.build @@ -208,7 +208,7 @@ libnouveau = static_library( 'nouveau', [files_libnouveau], include_directories : [ - inc_src, inc_include, inc_gallium, inc_gallium_aux, inc_drm_uapi + inc_src, inc_include, inc_gallium, inc_gallium_aux, ], c_args : [c_vis_args], cpp_args : [cpp_vis_args], diff --git a/src/gallium/drivers/nouveau/nouveau_winsys.h b/src/gallium/drivers/nouveau/nouveau_winsys.h index f13988ea526..e0ed0af3eaa 100644 --- a/src/gallium/drivers/nouveau/nouveau_winsys.h +++ b/src/gallium/drivers/nouveau/nouveau_winsys.h @@ -6,7 +6,7 @@ #include "pipe/p_defines.h" -#include <drm.h> +#include "drm-uapi/drm.h" #include <nouveau.h> #ifndef NV04_PFIFO_MAX_PACKET_LEN diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_miptree.c b/src/gallium/drivers/nouveau/nvc0/nvc0_miptree.c index 7983c403087..af5baa3def0 100644 --- a/src/gallium/drivers/nouveau/nvc0/nvc0_miptree.c +++ b/src/gallium/drivers/nouveau/nvc0/nvc0_miptree.c @@ -20,7 +20,7 @@ * OTHER DEALINGS IN THE SOFTWARE. */ -#include <drm_fourcc.h> +#include "drm-uapi/drm_fourcc.h" #include "pipe/p_state.h" #include "pipe/p_defines.h" diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_resource.c b/src/gallium/drivers/nouveau/nvc0/nvc0_resource.c index ec6257a8963..d73ecf71624 100644 --- a/src/gallium/drivers/nouveau/nvc0/nvc0_resource.c +++ b/src/gallium/drivers/nouveau/nvc0/nvc0_resource.c @@ -1,4 +1,4 @@ -#include <drm_fourcc.h> +#include "drm-uapi/drm_fourcc.h" #include "pipe/p_context.h" #include "nvc0/nvc0_resource.h" |