summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>2012-08-09 13:34:54 +0200
committerRob Clark <rob@ti.com>2012-08-23 14:21:01 -0500
commitf215d651377d98f5998118c6824aeb2db75513be (patch)
tree0cd1a48d2e733990996dcca3ca71a1e22ac5a884
parent3163cfe4db925429760407e77140e2d595338bc2 (diff)
omap: include omap_drm.h independently
omap_drm.h uses data type defined in stdint.h, but that header was not included. omap_drm.h includes drm.h as a local file when it is part of the compiler c flags. This two issues are fixed. New code can include omap_drm.h alone. Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com> Signed-off-by: Rob Clark <rob@ti.com>
-rw-r--r--omap/omap_drm.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/omap/omap_drm.h b/omap/omap_drm.h
index f677cd86..9c6c0e4e 100644
--- a/omap/omap_drm.h
+++ b/omap/omap_drm.h
@@ -29,7 +29,8 @@
#ifndef __OMAP_DRM_H__
#define __OMAP_DRM_H__
-#include "drm.h"
+#include <stdint.h>
+#include <drm.h>
/* Please note that modifications to all structs defined here are
* subject to backwards-compatibility constraints.