summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>