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:
cc6a6a3
)
Mac OS X: include <rpc/types.h> before <rpc/xdr.h>
author
Richard Jones
<rich@koneko.home.annexia.org>
Sun, 21 Mar 2010 17:49:49 +0000
(17:49 +0000)
committer
Richard Jones
<rich@koneko.home.annexia.org>
Mon, 22 Mar 2010 10:41:45 +0000
(10:41 +0000)
In PortableXDR this is not included automatically so we
have to include it explicitly to get definitions for the
XDR types.
src/guestfs.h
patch
|
blob
|
history
diff --git
a/src/guestfs.h
b/src/guestfs.h
index
5b8ad09
..
1a09fe8
100644
(file)
--- a/
src/guestfs.h
+++ b/
src/guestfs.h
@@
-62,6
+62,7
@@
extern void guestfs_set_subprocess_quit_callback (guestfs_h *g, guestfs_subproce
extern void guestfs_set_launch_done_callback (guestfs_h *g, guestfs_launch_done_cb cb, void *opaque);
/*--- Structures and actions ---*/
+#include <rpc/types.h>
#include <rpc/xdr.h>
#include <guestfs-structs.h>
#include <guestfs-actions.h>