diff options
author | Richard Jones <rich@koneko.home.annexia.org> | 2010-03-21 20:41:41 +0000 |
---|---|---|
committer | Richard Jones <rich@koneko.home.annexia.org> | 2010-03-22 10:41:46 +0000 |
commit | d4a202aa7bf45382e84f558239dadc24c73d195d (patch) | |
tree | fc6a8c2574c79a3800716b4f3da5757891d686cb /src/guestfs.c | |
parent | fd8b87ec2b0e535e04508595c3da3e32382f6af0 (diff) | |
download | libguestfs-d4a202aa7bf45382e84f558239dadc24c73d195d.tar.gz libguestfs-d4a202aa7bf45382e84f558239dadc24c73d195d.tar.xz libguestfs-d4a202aa7bf45382e84f558239dadc24c73d195d.zip |
Mac OS X: 'xdr_uint32_t' is 'xdr_u_int32_t'
Diffstat (limited to 'src/guestfs.c')
-rw-r--r-- | src/guestfs.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/guestfs.c b/src/guestfs.c index 61e93022..850264e1 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" |