Fix Launchpad bug #1087757 - fuse not building for aarch64 14/18314/4 accepted/tizen_3.0.2014.q3_common accepted/tizen_3.0.m14.3_ivi accepted/tizen_ivi_panda tizen_3.0.2014.q3_common tizen_3.0.2014.q4_common tizen_3.0.2015.q1_common tizen_3.0.2015.q2_common tizen_3.0.m14.3_ivi tizen_3.0.m1_mobile tizen_3.0.m1_tv tizen_3.0_ivi tizen_ivi_panda accepted/tizen/common/20140923.084925 accepted/tizen/ivi/20140926.190006 accepted/tizen/ivi/20160218.024709 accepted/tizen/ivi/panda/20140403.014625 submit/tizen/20140923.004548 submit/tizen_ivi/20160217.000000 submit/tizen_ivi/20160217.000005 submit/tizen_ivi_panda/20140403.011955 submit/tizen_mobile/20141120.000000 tizen_3.0.2014.q3_common_release tizen_3.0.m14.3_ivi_release tizen_3.0.m1_mobile_release tizen_3.0.m1_tv_release tizen_3.0.m2.a1_mobile_release tizen_3.0.m2.a1_tv_release tizen_3.0_ivi_release
authorIlya Palachev <i.palachev@samsung.com>
Thu, 20 Mar 2014 13:07:07 +0000 (17:07 +0400)
committerIlya Palachev <i.palachev@samsung.com>
Fri, 21 Mar 2014 09:32:24 +0000 (13:32 +0400)
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: