drm: fix inclusion of drm.h in drm_sarea.h
authorGabriel Laskar <gabriel@lse.epita.fr>
Mon, 30 Nov 2015 14:10:44 +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/drm_sarea.h

index 413a5642d49f55a711bf998beb222740b2e021d2..1d1a858a203d87f44feb10fa64a9524f00893b86 100644 (file)
@@ -32,7 +32,7 @@
 #ifndef _DRM_SAREA_H_
 #define _DRM_SAREA_H_
 
-#include <drm/drm.h>
+#include "drm.h"
 
 /* SAREA area needs to be at least a page */
 #if defined(__alpha__)