| 1 | This patch is from Debian, named '0006-arm64.patch'
|
| 2 |
|
| 3 | Author: Riku Voipio <[email protected]>
|
| 4 | Description: fuse_kernel.h: clean includes
|
| 5 | Use <linux/types.h> for linux and define types used for other operating systems
|
| 6 | using <stdint.h> types (Closes: #752081).
|
| 7 |
|
| 8 | diff -Naurp fuse.orig/include/fuse_kernel.h fuse/include/fuse_kernel.h
|
| 9 | |
| 10 | |
| 11 | @@ -88,12 +88,16 @@
|
| 12 | #ifndef _LINUX_FUSE_H
|
| 13 | #define _LINUX_FUSE_H
|
| 14 |
|
| 15 | -#include <sys/types.h>
|
| 16 | +#ifdef __linux__
|
| 17 | +#include <linux/types.h>
|
| 18 | +#else
|
| 19 | +#include <stdint.h>
|
| 20 | #define __u64 uint64_t
|
| 21 | #define __s64 int64_t
|
| 22 | #define __u32 uint32_t
|
| 23 | #define __s32 int32_t
|
| 24 | #define __u16 uint16_t
|
| 25 | +#endif
|
| 26 |
|
| 27 | /*
|
| 28 | * Version negotiation:
|