]> xenbits.xensource.com Git - xcp/xen-api-libs.git/commitdiff
Work-around the missing XS_RESTRICT decl in xen-unstable
authorDavid Scott <dave.scott@eu.citrix.com>
Wed, 11 Nov 2009 17:41:49 +0000 (17:41 +0000)
committerDavid Scott <dave.scott@eu.citrix.com>
Wed, 11 Nov 2009 17:41:49 +0000 (17:41 +0000)
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@eu.citrix.com>
xb/xb_stubs.c

index cb23ad539dd44ceea9a77d612659cf0e0c8d6027..bdacbaf1d28e311653c136886617cccc3910b1be 100644 (file)
 #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)
 {
        CAMLparam0();