aboutsummaryrefslogtreecommitdiffstats
path: root/omap
diff options
context:
space:
mode:
authorVíctor Manuel Jáquez Leal2012-08-09 06:34:54 -0500
committerRob Clark2012-08-23 14:21:01 -0500
commitf215d651377d98f5998118c6824aeb2db75513be (patch)
tree0cd1a48d2e733990996dcca3ca71a1e22ac5a884 /omap
parent3163cfe4db925429760407e77140e2d595338bc2 (diff)
downloadexternal-libgbm-f215d651377d98f5998118c6824aeb2db75513be.tar.gz
external-libgbm-f215d651377d98f5998118c6824aeb2db75513be.tar.xz
external-libgbm-f215d651377d98f5998118c6824aeb2db75513be.zip
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>
Diffstat (limited to 'omap')
-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 @@
29#ifndef __OMAP_DRM_H__ 29#ifndef __OMAP_DRM_H__
30#define __OMAP_DRM_H__ 30#define __OMAP_DRM_H__
31 31
32#include "drm.h" 32#include <stdint.h>
33#include <drm.h>
33 34
34/* Please note that modifications to all structs defined here are 35/* Please note that modifications to all structs defined here are
35 * subject to backwards-compatibility constraints. 36 * subject to backwards-compatibility constraints.