projects
/
platform
/
upstream
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f64aa1c
)
virtfs-proxy-helper: Provide __u64 for broken sys/capability.h
author
Bruce Rogers
<brogers@suse.com>
Thu, 16 May 2013 10:39:10 +0000
(12:39 +0200)
committer
Junfeng Dong
<junfeng.dong@intel.com>
Tue, 19 Nov 2013 10:57:39 +0000
(18:57 +0800)
Fixes the build on SLE 11 SP2.
[AF: Extend to ppc64]
fsdev/virtfs-proxy-helper.c
patch
|
blob
|
history
diff --git
a/fsdev/virtfs-proxy-helper.c
b/fsdev/virtfs-proxy-helper.c
index
713a7b2
..
b8da77d
100644
(file)
--- a/
fsdev/virtfs-proxy-helper.c
+++ b/
fsdev/virtfs-proxy-helper.c
@@
-9,6
+9,13
@@
* the COPYING file in the top-level directory.
*/
+/* work around a broken sys/capability.h */
+#if defined(__i386__)
+typedef unsigned long long __u64;
+#endif
+#if defined(__powerpc64__)
+#include <asm/types.h>
+#endif
#include <sys/resource.h>
#include <getopt.h>
#include <syslog.h>