From: Richard Jones Date: Sun, 21 Mar 2010 20:41:41 +0000 (+0000) Subject: Mac OS X: 'xdr_uint32_t' is 'xdr_u_int32_t' X-Git-Tag: 1.0.87~8 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=d4a202aa7bf45382e84f558239dadc24c73d195d;p=libguestfs.git Mac OS X: 'xdr_uint32_t' is 'xdr_u_int32_t' --- diff --git a/src/guestfs.c b/src/guestfs.c index 61e9302..850264e 100644 --- a/src/guestfs.c +++ b/src/guestfs.c @@ -100,6 +100,10 @@ static int qemu_supports (guestfs_h *g, const char *option); #define MAX(a,b) ((a)>(b)?(a):(b)) #endif +#ifdef __APPLE__ +#define xdr_uint32_t xdr_u_int32_t +#endif + /* Also in guestfsd.c */ #define GUESTFWD_ADDR "10.0.2.4" #define GUESTFWD_PORT "6666"