libcap/libcap-u64-typedef-fix.diff

20 lines
421 B
Diff
Raw Normal View History

---
libcap/include/sys/capability.h | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
--- a/libcap/include/sys/capability.h
+++ b/libcap/include/sys/capability.h
@@ -31,8 +31,11 @@
#define __LINUX_COMPILER_H
#define __user
-typedef unsigned int __u32;
+#include <stdint.h>
+typedef uint32_t __u32;
typedef __u32 __le32;
+typedef uint64_t __u64;
+typedef __u32 __le64;
#include <linux/capability.h>