summaryrefslogtreecommitdiff
path: root/include/uapi/drm
diff options
context:
space:
mode:
authorGabriel Laskar <gabriel@lse.epita.fr>2015-11-30 15:10:55 +0100
committerGabriel Laskar <gabriel@lse.epita.fr>2015-12-10 12:33:23 +0100
commit6e82e9c85774a417af309497d0be5f125474d163 (patch)
tree12013888d4274ce6764ab0ad9948237d6ee79f62 /include/uapi/drm
parent678205a6c403a9da70dcd12ca61ace8d91ed0351 (diff)
drm: fix inclusion of drm.h in virtgpu_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/uapi/drm')
-rw-r--r--include/uapi/drm/virtgpu_drm.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/uapi/drm/virtgpu_drm.h b/include/uapi/drm/virtgpu_drm.h
index 4bcfbe6be8d4..c74f1f90cb37 100644
--- a/include/uapi/drm/virtgpu_drm.h
+++ b/include/uapi/drm/virtgpu_drm.h
@@ -24,8 +24,7 @@
#ifndef VIRTGPU_DRM_H
#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.