Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.2:Update
libcap
libcap-u64-typedef-fix.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libcap-u64-typedef-fix.diff of Package libcap
--- libcap/include/sys/capability.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) --- a/libcap/include/sys/capability.h +++ b/libcap/include/sys/capability.h @@ -26,13 +26,19 @@ * Make sure we can be included from userland by preventing * capability.h from including other kernel headers */ -#define _LINUX_TYPES_H #define _LINUX_FS_H #define __LINUX_COMPILER_H #define __user -typedef unsigned int __u32; +/* HACK to fix build of libcap itself */ +#ifndef _LINUX_TYPES_H +#define _LINUX_TYPES_H +#include <stdint.h> +typedef uint32_t __u32; typedef __u32 __le32; +typedef uint64_t __u64; +typedef __u64 __le64; +#endif /* HACK */ #include <linux/capability.h>
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor