Mac OS X: 'xdr_uint32_t' is 'xdr_u_int32_t'
authorRichard Jones <rich@koneko.home.annexia.org>
Sun, 21 Mar 2010 20:41:41 +0000 (20:41 +0000)
committerRichard Jones <rich@koneko.home.annexia.org>
Mon, 22 Mar 2010 10:41:46 +0000 (10:41 +0000)
src/guestfs.c

index 61e9302..850264e 100644 (file)
@@ -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"