summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2015-06-29 17:32:21 +0100
committerEmil Velikov <emil.l.velikov@gmail.com>2015-06-29 19:19:22 +0100
commit5f76273d51fee5c176302ae5f57673461b80333b (patch)
treee6179fd5584d0a21128e5f72e00d9db7ec961422
parent8426967d4e34ef5924a30166662c60d1003072bd (diff)
xf86drmMode: include config.h before anything else
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
-rw-r--r--xf86drmMode.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/xf86drmMode.c b/xf86drmMode.c
index 206d1c25..f4b8d146 100644
--- a/xf86drmMode.c
+++ b/xf86drmMode.c
@@ -37,6 +37,11 @@
* TODO the types we are after are defined in diffrent headers on diffrent
* platforms find which headers to include to get uint32_t
*/
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <limits.h>
#include <stdint.h>
#include <stdlib.h>
@@ -44,10 +49,6 @@
#include <stdio.h>
#include <stdbool.h>
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-
#include "xf86drmMode.h"
#include "xf86drm.h"
#include <drm.h>