Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 1 | fuse: add aarch64 support |
| 2 | |
| 3 | u64/u32 is not defined in sys/types.h, include linux/types.h like |
| 4 | the kernel version of fuse.h does. Patch sent to upstream mailing list. |
| 5 | |
| 6 | Upstream-Status: Submitted |
| 7 | Signed-off-by: Riku Voipio <riku.voipio@linaro.org> |
| 8 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> |
| 9 | --- |
| 10 | include/fuse_kernel.h | 7 +------ |
| 11 | 1 file changed, 1 insertion(+), 6 deletions(-) |
| 12 | |
| 13 | diff --git a/include/fuse_kernel.h b/include/fuse_kernel.h |
| 14 | index c632b58..e804278 100644 |
| 15 | --- a/include/fuse_kernel.h |
| 16 | +++ b/include/fuse_kernel.h |
| 17 | @@ -88,12 +88,7 @@ |
| 18 | #ifndef _LINUX_FUSE_H |
| 19 | #define _LINUX_FUSE_H |
| 20 | |
| 21 | -#include <sys/types.h> |
| 22 | -#define __u64 uint64_t |
| 23 | -#define __s64 int64_t |
| 24 | -#define __u32 uint32_t |
| 25 | -#define __s32 int32_t |
| 26 | -#define __u16 uint16_t |
| 27 | +#include <linux/types.h> |
| 28 | |
| 29 | /* |
| 30 | * Version negotiation: |
| 31 | -- |
| 32 | 1.8.1.2 |
| 33 | |