From e9b2eec7c5856032652bb8ff734174764e444c74 Mon Sep 17 00:00:00 2001 From: Riku Voipio Date: Thu, 7 Feb 2013 12:04:21 +0100 Subject: fuse_kernel.h: clean includes Use for linux and define types used for other operating systems using types. --- include/fuse_kernel.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 +#ifdef __linux__ +#include +#else +#include #define __u64 uint64_t #define __s64 int64_t #define __u32 uint32_t #define __s32 int32_t #define __u16 uint16_t +#endif /* * Version negotiation: -- cgit v1.2.1