[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-API] [PATCH 2 of 4] Work-around the missing XS_RESTRICT decl in xen-unstable
# HG changeset patch # User David Scott <dave.scott@xxxxxxxxxxxxx> # Date 1257961309 0 # Node ID 07649972130671a0b984953749566f6aaf9ba7ff # Parent 9a44d2645ddc107af42e78589e092e39ea93000b Work-around the missing XS_RESTRICT decl in xen-unstable This message is only used by http://xenbits.xen.org/xapi/qemu-xen-3.4.pq.hg?file/e89cb5405f51/depriv_qemu Signed-off-by: David Scott <dave.scott@xxxxxxxxxxxxx> diff -r 9a44d2645ddc -r 076499721306 xb/xb_stubs.c --- a/xb/xb_stubs.c Wed Nov 11 17:41:48 2009 +0000 +++ b/xb/xb_stubs.c Wed Nov 11 17:41:49 2009 +0000 @@ -29,6 +29,13 @@ #include <xenctrl.h> #define u32 uint32_t #include <xen/io/xs_wire.h> + +/* XS_RESTRICT is defined in + http://xenbits.xen.org/xapi/xen-3.4.pq.hg?file/c01d38e7092a/restrict_xenstored */ +#include "../include/config.h" +#if !HAVE_DECL_XS_RESTRICT +#define XS_RESTRICT 128 +#endif CAMLprim value stub_get_internal_offset(void) { 1 file changed, 7 insertions(+) xb/xb_stubs.c | 7 +++++++ Attachment:
xen-api-libs.hg-4.patch _______________________________________________ xen-api mailing list xen-api@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/mailman/listinfo/xen-api
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |