Commit 80121613 authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Fixed kernel types to build on aarch64

parent d17df32d
all:
tar xf fuse-2.9.9.tar.gz
patch -Np1 -d fuse-2.9.9 < fuse-2.9.9-fix_types.patch
cd fuse-2.9.9 && ./configure --prefix=/usr --disable-static --exec-prefix=/
$(MAKE) -C fuse-2.9.9
$(MAKE) -C fuse-2.9.9 DESTDIR=$(CURDIR)/fuse-2.9.9/Dest install
......
diff -uNr fuse-2.9.9/include/fuse_kernel.h fuse-2.9.9-fix_types/include/fuse_kernel.h
--- fuse-2.9.9/include/fuse_kernel.h 2019-01-04 13:33:33.000000000 +0000
+++ fuse-2.9.9-fix_types/include/fuse_kernel.h 2020-06-19 03:45:57.686991756 +0000
@@ -88,12 +88,7 @@
#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:
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment