From 71d9de4ba1085a26bb8d0844552d3d5f39a87d28 Mon Sep 17 00:00:00 2001 From: David Scott Date: Wed, 11 Nov 2009 17:41:49 +0000 Subject: [PATCH] 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 --- xb/xb_stubs.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/xb/xb_stubs.c b/xb/xb_stubs.c index cb23ad5..bdacbaf 100644 --- a/xb/xb_stubs.c +++ b/xb/xb_stubs.c @@ -30,6 +30,13 @@ #define u32 uint32_t #include +/* 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) { CAMLparam0(); -- 2.39.5