summaryrefslogtreecommitdiffstats
path: root/patches/fuse-2.9.5/0001-use-asm-types.h-to-define-__u64-etc.patch
blob: 5b79e61a1c75fb4c96dd76a27d533e4ed1251dbf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From: Michael Olbrich <m.olbrich@pengutronix.de>
Date: Sat, 30 May 2015 10:42:35 +0200
Subject: [PATCH] use asm/types.h to define __u64 etc.

Otherwise building fails on arm64 with conflicting type definitions.

Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
---
 include/fuse_kernel.h | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/include/fuse_kernel.h b/include/fuse_kernel.h
index c632b58fbcf4..29eb58227198 100644
--- a/include/fuse_kernel.h
+++ b/include/fuse_kernel.h
@@ -89,11 +89,7 @@
 #define _LINUX_FUSE_H
 
 #include <sys/types.h>
-#define __u64 uint64_t
-#define __s64 int64_t
-#define __u32 uint32_t
-#define __s32 int32_t
-#define __u16 uint16_t
+#include <asm/types.h>
 
 /*
  * Version negotiation: