# HG changeset patch # User David Scott # 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 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 #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) {