[PATCH libdrm 2/2] xf86drmMode: include config.h before anything else
Emil Velikov
emil.l.velikov at gmail.com
Mon Jun 22 10:58:06 PDT 2015
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
---
xf86drmMode.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
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>
--
2.1.3
More information about the dri-devel
mailing list