diff options
author | Riku Voipio <riku.voipio@linaro.org> | 2013-02-07 12:04:21 +0100 |
---|---|---|
committer | Edward Cragg <edward.cragg@codethink.co.uk> | 2016-03-18 08:27:17 +0000 |
commit | e9b2eec7c5856032652bb8ff734174764e444c74 (patch) | |
tree | 7ad8effb307c5b880f719ef33f73152cedd4782b | |
parent | 6adcb719a933a31013c73fda8e0ccb0e13b45e58 (diff) | |
download | fuse-e9b2eec7c5856032652bb8ff734174764e444c74.tar.gz |
fuse_kernel.h: clean includesbaserock/fuse_2_9_4-fix-armv8
Use <linux/types.h> for linux and define types used for other operating systems
using <stdint.h> types.
-rw-r--r-- | include/fuse_kernel.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/fuse_kernel.h b/include/fuse_kernel.h index c632b58..9e02fe3 100644 --- a/include/fuse_kernel.h +++ b/include/fuse_kernel.h @@ -88,12 +88,16 @@ #ifndef _LINUX_FUSE_H #define _LINUX_FUSE_H -#include <sys/types.h> +#ifdef __linux__ +#include <linux/types.h> +#else +#include <stdint.h> #define __u64 uint64_t #define __s64 int64_t #define __u32 uint32_t #define __s32 int32_t #define __u16 uint16_t +#endif /* * Version negotiation: |