summaryrefslogtreecommitdiffstats
path: root/src/vulkan/wsi/wsi_common_display.c
diff options
context:
space:
mode:
authorEric Engestrom <[email protected]>2019-02-12 18:18:03 +0000
committerEric Engestrom <[email protected]>2019-02-14 11:20:00 +0000
commitf1374805a86d0d506557e61efbc09e23caa7a038 (patch)
tree8227048a718d8080b00c1f1a9817033ce38e6cd9 /src/vulkan/wsi/wsi_common_display.c
parent69e4c273c44118f46fd496af5124ddf45b86e868 (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/vulkan/wsi/wsi_common_display.c')
-rw-r--r--src/vulkan/wsi/wsi_common_display.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vulkan/wsi/wsi_common_display.c b/src/vulkan/wsi/wsi_common_display.c
index 08e9e5fe3fc..7ff9d77d88b 100644
--- a/src/vulkan/wsi/wsi_common_display.c
+++ b/src/vulkan/wsi/wsi_common_display.c
@@ -32,7 +32,7 @@
#include <math.h>
#include <xf86drm.h>
#include <xf86drmMode.h>
-#include <drm_fourcc.h>
+#include "drm-uapi/drm_fourcc.h"
#ifdef VK_USE_PLATFORM_XLIB_XRANDR_EXT
#include <xcb/randr.h>
#include <X11/Xlib-xcb.h>