OSDN Git Service

xf86drmMode: include config.h before anything else
authorEmil Velikov <emil.l.velikov@gmail.com>
Mon, 29 Jun 2015 16:32:21 +0000 (17:32 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 29 Jun 2015 18:19:22 +0000 (19:19 +0100)
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
xf86drmMode.c

index 206d1c2..f4b8d14 100644 (file)
  * 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>
 #include <stdio.h>
 #include <stdbool.h>
 
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-
 #include "xf86drmMode.h"
 #include "xf86drm.h"
 #include <drm.h>