xf86drmMode: include config.h before anything else

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
main
Emil Velikov 2015-06-29 17:32:21 +01:00
parent 8426967d4e
commit 5f76273d51
1 changed files with 5 additions and 4 deletions

View File

@ -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>