Skip to contentSkip to conversation

omap: include omap_drm.h independently

PATCH New Víctor Manuel Jáquez Leal 1 participant 1 message Aug 9, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 omap/omap_drm.h |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
omap/omap_drm.h +2 -1
index f677cd8..9c6c0e4 100644
@@ -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.
Signature · 6 lines
1.7.10.4

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel