Fix Launchpad bug #1087757 - fuse not building for aarch64
authorIlya Palachev <i.palachev@samsung.com>
Thu, 20 Mar 2014 13:07:07 +0000 (17:07 +0400)
committersilas jeon <silasjeon@samsung.com>
Wed, 25 May 2016 11:23:31 +0000 (20:23 +0900)
Tizen toolchain team in Samsung company is planning to build Tizen
for new arm 64 bit architecture - Aarch64. But package "fuse" cannot
be built for this architecture because of build errors.

The same problem appeared in open-source version of fuse during the
build on Launchpad for aarch64. It was fixed and the patch was made.

Bug: https://bugs.launchpad.net/linaro-oe/+bug/1087757
Change-Id: I8d9cdbccd0e788ffa959449371765cd171c3cdf4
Signed-off-by: Ilya Palachev <i.palachev@samsung.com>
include/fuse_kernel.h

index c632b58..e804278 100644 (file)
 #ifndef _LINUX_FUSE_H
 #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 <linux/types.h>
 
 /*
  * Version negotiation: