diff mbox

[libdrm,2/2] xf86drmMode: include config.h before anything else

Message ID 1434995886-26446-2-git-send-email-emil.l.velikov@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Emil Velikov June 22, 2015, 5:58 p.m. UTC
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
---
 xf86drmMode.c | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
diff mbox

Patch

diff --git a/xf86drmMode.c b/xf86drmMode.c
index 30ef6f2..71bd62f 100644
--- a/xf86drmMode.c
+++ b/xf86drmMode.c
@@ -37,14 +37,15 @@ 
  * TODO the types we are after are defined in diffrent headers on diffrent
  * platforms find which headers to include to get uint32_t
  */
-#include <stdint.h>
-#include <sys/ioctl.h>
-#include <stdio.h>
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #endif
 
+#include <stdint.h>
+#include <sys/ioctl.h>
+#include <stdio.h>
+
 #include "xf86drmMode.h"
 #include "xf86drm.h"
 #include <drm.h>