Signed-off-by: Gerben Meijer <infernix@gmail.com>
#include "acconfig.h"
-#ifdef HAVE_LINUX_TYPES_H
-#include <linux/types.h>
-#endif
-
/*
* Get 64b integers either from inttypes.h or glib.h
*/
#include <stdint.h>
#endif
+/*
+ * Include types.h after stdint.h to accomodate for older distributions
+ *
+ */
+#ifdef HAVE_LINUX_TYPES_H
+#include <linux/types.h>
+#endif
+
/*
* Emergency replacements for PRI*64 modifiers. Some systems have
* an inttypes.h that doesn't define all the PRI[doxu]64 macros.