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 <eric.engestrom@intel.com> Reviewed-by: Kristian H. Kristensen <hoegsberg@chromium.org>
This commit is contained in:
committed by
Eric Engestrom
parent
69e4c273c4
commit
f1374805a8
@@ -31,7 +31,6 @@ AM_CPPFLAGS = \
|
||||
-DDEFAULT_DRIVER_DIR=\"$(DRI_DRIVER_SEARCH_DIR)\" \
|
||||
$(DEFINES) \
|
||||
-I$(top_srcdir)/include \
|
||||
-I$(top_srcdir)/include/drm-uapi \
|
||||
-I$(top_srcdir)/src \
|
||||
$(VISIBILITY_CFLAGS) \
|
||||
$(XCB_DRI3_CFLAGS) \
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
|
||||
#include "loader_dri3_helper.h"
|
||||
#include "util/macros.h"
|
||||
#include "drm_fourcc.h"
|
||||
#include "drm-uapi/drm_fourcc.h"
|
||||
|
||||
/* From xmlpool/options.h, user exposed so should be stable */
|
||||
#define DRI_CONF_VBLANK_NEVER 0
|
||||
|
||||
@@ -25,7 +25,7 @@ if with_platform_x11 and with_dri3
|
||||
'loader_dri3_helper',
|
||||
['loader_dri3_helper.c', 'loader_dri3_helper.h'],
|
||||
c_args : c_vis_args,
|
||||
include_directories : [inc_include, inc_src, inc_drm_uapi],
|
||||
include_directories : [inc_include, inc_src],
|
||||
dependencies : [
|
||||
dep_libdrm, dep_xcb_dri3, dep_xcb_present, dep_xcb_sync, dep_xshmfence,
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user