aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmil Velikov2015-06-29 11:32:21 -0500
committerEmil Velikov2015-06-29 13:19:22 -0500
commit5f76273d51fee5c176302ae5f57673461b80333b (patch)
treee6179fd5584d0a21128e5f72e00d9db7ec961422 /xf86drmMode.c
parent8426967d4e34ef5924a30166662c60d1003072bd (diff)
downloadexternal-libdrm-5f76273d51fee5c176302ae5f57673461b80333b.tar.gz
external-libdrm-5f76273d51fee5c176302ae5f57673461b80333b.tar.xz
external-libdrm-5f76273d51fee5c176302ae5f57673461b80333b.zip
xf86drmMode: include config.h before anything else
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Diffstat (limited to 'xf86drmMode.c')
-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 @@
37 * TODO the types we are after are defined in diffrent headers on diffrent 37 * TODO the types we are after are defined in diffrent headers on diffrent
38 * platforms find which headers to include to get uint32_t 38 * platforms find which headers to include to get uint32_t
39 */ 39 */
40
41#ifdef HAVE_CONFIG_H
42#include "config.h"
43#endif
44
40#include <limits.h> 45#include <limits.h>
41#include <stdint.h> 46#include <stdint.h>
42#include <stdlib.h> 47#include <stdlib.h>
@@ -44,10 +49,6 @@
44#include <stdio.h> 49#include <stdio.h>
45#include <stdbool.h> 50#include <stdbool.h>
46 51
47#ifdef HAVE_CONFIG_H
48#include "config.h"
49#endif
50
51#include "xf86drmMode.h" 52#include "xf86drmMode.h"
52#include "xf86drm.h" 53#include "xf86drm.h"
53#include <drm.h> 54#include <drm.h>