From b2070ae3d797a32a8227c6b9231efa249c94d330 Mon Sep 17 00:00:00 2001
From: Richard Jones <rich@koneko.home.annexia.org>
Date: Sun, 21 Mar 2010 17:49:49 +0000
Subject: [PATCH] Mac OS X: include <rpc/types.h> before <rpc/xdr.h>

In PortableXDR this is not included automatically so we
have to include it explicitly to get definitions for the
XDR types.
---
 src/guestfs.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/guestfs.h b/src/guestfs.h
index 5b8ad09..1a09fe8 100644
--- 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>
-- 
1.8.3.1