drm: fix inclusion of drm.h in virtgpu_drm.h
authorGabriel Laskar <gabriel@lse.epita.fr>
Mon, 30 Nov 2015 14:10:55 +0000 (15:10 +0100)
committerGabriel Laskar <gabriel@lse.epita.fr>
Thu, 10 Dec 2015 11:33:23 +0000 (12:33 +0100)
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>
include/uapi/drm/virtgpu_drm.h

index 4bcfbe6be8d4631597d3cc48ee051da5b436d951..c74f1f90cb373b3f7ee2bcf9f8013b4868225c2d 100644 (file)
@@ -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.