summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRussell King <rmk@arm.linux.org.uk>2014-05-10 00:10:03 +0100
committerRussell King <rmk@arm.linux.org.uk>2014-05-10 00:10:03 +0100
commit64c6e689dfb6a90ab86989573f6120b94f991ed5 (patch)
tree8a2c2284deffcdc6f683899c54df5c86312baa3f
parent7524499908d316c2d5a94539edc4a919699d0008 (diff)
downloadxf86-video-armada-64c6e689dfb6a90ab86989573f6120b94f991ed5.tar.gz
xf86-video-armada-64c6e689dfb6a90ab86989573f6120b94f991ed5.tar.xz
Move compat-api.h header
Building on Ubuntu 14.04 fails because the compat-api header is included too early. Fix these build errors. Signed-off-by: Russell King <rmk@arm.linux.org.uk>
-rw-r--r--src/common_drm.h2
-rw-r--r--src/vivante_unaccel_render.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/common_drm.h b/src/common_drm.h
index b0c3cd4..3bc5dc6 100644
--- a/src/common_drm.h
+++ b/src/common_drm.h
@@ -1,8 +1,8 @@
#ifndef COMMON_DRM_H
#define COMMON_DRM_H
-#include "compat-api.h"
#include "xf86Crtc.h"
+#include "compat-api.h"
struct common_crtc_info {
int drm_fd;
diff --git a/src/vivante_unaccel_render.c b/src/vivante_unaccel_render.c
index ad4d5cf..0496d7a 100644
--- a/src/vivante_unaccel_render.c
+++ b/src/vivante_unaccel_render.c
@@ -11,11 +11,11 @@
#include "config.h"
#endif
-#include "compat-api.h"
#include "fb.h"
#include "fbpict.h"
#include "mipict.h"
+#include "compat-api.h"
#include "vivante_unaccel.h"
#include "vivante_utils.h"