summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2015-10-28 11:47:18 +0000
committerEmil Velikov <[email protected]>2015-10-30 17:29:01 +0000
commitc1bf71f77c9d4bc83fa7dc987b56f98350430d7c (patch)
tree557a905c46c1d40c2e1655280d8d1f87cc185805
parent60418a28ea11b3e1d9365acfc168a8f8f5b41965 (diff)
virgl: fix drm.h include path
The drm/ prefix is required, if using the kernel provided headers. As most distros don't ship them it and we already depend on libdrm (which adds the relevant -I flag) just drop the drm/ from the include. Once a libdrm release with the virtgpu_drm.h header is released, we can drop our local copy of the file. Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Dave Airlie <[email protected]>
-rw-r--r--src/gallium/winsys/virgl/drm/virtgpu_drm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/winsys/virgl/drm/virtgpu_drm.h b/src/gallium/winsys/virgl/drm/virtgpu_drm.h
index fcc789edbff..30bc3afdd81 100644
--- a/src/gallium/winsys/virgl/drm/virtgpu_drm.h
+++ b/src/gallium/winsys/virgl/drm/virtgpu_drm.h
@@ -25,7 +25,7 @@
#define VIRTGPU_DRM_H
#include <stddef.h>
-#include "drm/drm.h"
+#include "drm.h"
/* Please note that modifications to all structs defined here are
* subject to backwards-compatibility constraints.