git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd8b87e
)
Mac OS X: 'xdr_uint32_t' is 'xdr_u_int32_t'
author
Richard Jones
<rich@koneko.home.annexia.org>
Sun, 21 Mar 2010 20:41:41 +0000
(20:41 +0000)
committer
Richard Jones
<rich@koneko.home.annexia.org>
Mon, 22 Mar 2010 10:41:46 +0000
(10:41 +0000)
src/guestfs.c
patch
|
blob
|
history
diff --git
a/src/guestfs.c
b/src/guestfs.c
index
61e9302
..
850264e
100644
(file)
--- 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"