]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Include types.h after stdint.h to accomodate for older distributions. This fixes... 2365/head
authorGerben Meijer <infernix@gmail.com>
Sun, 31 Aug 2014 14:35:10 +0000 (16:35 +0200)
committerGerben Meijer <infernix@gmail.com>
Sun, 7 Sep 2014 20:50:39 +0000 (22:50 +0200)
Signed-off-by: Gerben Meijer <infernix@gmail.com>
src/include/int_types.h

index 98220e9a52e57bcd83c276322fbadae538ef0cff..ec71b64c1bd5a8c2fc718735e04d357710f5ef30 100644 (file)
@@ -3,10 +3,6 @@
 
 #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.