Projects
openEuler:24.03:SP1:Everything:64G
fuse
_service:tar_scm:0000-fix-compile-error-because...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:0000-fix-compile-error-because-of-ns-colliding.patch of Package fuse
From 7757c9011776c5a37bee3fa0c1ca4fab7e4567b2 Mon Sep 17 00:00:00 2001 From: Shijie Luo <luoshijie1@huawei.com> Date: Fri, 10 Jan 2020 00:55:50 +0000 Subject: [PATCH] fix compile error because of ns colliding fix compile error because of ns colliding. Signed-off-by: Shijie Luo <luoshijie1@huawei.com> --- include/fuse_kernel.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/fuse_kernel.h b/include/fuse_kernel.h index c632b58..9e02fe3 100644 --- a/include/fuse_kernel.h +++ b/include/fuse_kernel.h @@ -88,12 +88,16 @@ #ifndef _LINUX_FUSE_H #define _LINUX_FUSE_H -#include <sys/types.h> +#ifdef __linux__ +#include <linux/types.h> +#else +#include <stdint.h> #define __u64 uint64_t #define __s64 int64_t #define __u32 uint32_t #define __s32 int32_t #define __u16 uint16_t +#endif /* * Version negotiation: -- 1.8.3.1
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2