path: root/include
diff options
authorGabriel Laskar <gabriel@lse.epita.fr>2015-11-30 15:10:51 +0100
committerGabriel Laskar <gabriel@lse.epita.fr>2015-12-10 12:33:23 +0100
commit8ca32846322254df34c33aeeb222f77edecfa113 (patch)
tree5cc14e0fd1701b28e9d567343c108ec9791ed5de /include
parent7ef500e431ac2f3bf14f6c39704e5db01ab5a341 (diff)
drm: fix inclusion of drm.h in qxl_drm.h
Using `#include "drm.h"` instead of `#include <drm/drm.h>` allow drm headers to be moved in another directory without changes, like for the libdrm imports. Signed-off-by: Gabriel Laskar <gabriel@lse.epita.fr> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com> CC: Emil Velikov <emil.l.velikov@gmail.com> CC: Mikko Rapeli <mikko.rapeli@iki.fi>
Diffstat (limited to 'include')
1 files changed, 1 insertions, 2 deletions
diff --git a/include/uapi/drm/qxl_drm.h b/include/uapi/drm/qxl_drm.h
index dface362d729..4d1e32640463 100644
--- a/include/uapi/drm/qxl_drm.h
+++ b/include/uapi/drm/qxl_drm.h
@@ -24,8 +24,7 @@
#ifndef QXL_DRM_H
#define QXL_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.

Privacy Policy