4ab5ad76d6
Upgrade to v1.5.0-rc2 and fix part of SLE 11 SP2 build failure OBS-URL: https://build.opensuse.org/request/show/175977 OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=135
27 lines
758 B
Diff
27 lines
758 B
Diff
From ab956babd052f8d3c68b9f90426553d6794c2473 Mon Sep 17 00:00:00 2001
|
|
From: Bruce Rogers <brogers@suse.com>
|
|
Date: Thu, 16 May 2013 12:39:10 +0200
|
|
Subject: [PATCH] virtfs-proxy-helper: Provide __u64 for broken
|
|
sys/capability.h
|
|
|
|
Fixes the build on SLE 11 SP2.
|
|
---
|
|
fsdev/virtfs-proxy-helper.c | 4 ++++
|
|
1 file changed, 4 insertions(+)
|
|
|
|
diff --git a/fsdev/virtfs-proxy-helper.c b/fsdev/virtfs-proxy-helper.c
|
|
index 713a7b2..0459bdf 100644
|
|
--- a/fsdev/virtfs-proxy-helper.c
|
|
+++ b/fsdev/virtfs-proxy-helper.c
|
|
@@ -9,6 +9,10 @@
|
|
* the COPYING file in the top-level directory.
|
|
*/
|
|
|
|
+/* work around a broken sys/capability.h */
|
|
+#if defined(__i386__)
|
|
+typedef unsigned long long __u64;
|
|
+#endif
|
|
#include <sys/resource.h>
|
|
#include <getopt.h>
|
|
#include <syslog.h>
|