mirror of
https://github.com/ceph/ceph
synced 2025-01-05 10:42:05 +00:00
Include types.h after stdint.h to accomodate for older distributions. This fixes compilation on CentOS 5.
Signed-off-by: Gerben Meijer <infernix@gmail.com>
This commit is contained in:
parent
fb79062fb4
commit
f0e0c31510
@ -3,10 +3,6 @@
|
|||||||
|
|
||||||
#include "acconfig.h"
|
#include "acconfig.h"
|
||||||
|
|
||||||
#ifdef HAVE_LINUX_TYPES_H
|
|
||||||
#include <linux/types.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Get 64b integers either from inttypes.h or glib.h
|
* Get 64b integers either from inttypes.h or glib.h
|
||||||
*/
|
*/
|
||||||
@ -26,6 +22,14 @@
|
|||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#endif
|
#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
|
* Emergency replacements for PRI*64 modifiers. Some systems have
|
||||||
* an inttypes.h that doesn't define all the PRI[doxu]64 macros.
|
* an inttypes.h that doesn't define all the PRI[doxu]64 macros.
|
||||||
|
Loading…
Reference in New Issue
Block a user