summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2010-11-11 23:18:57 +0000
committerRichard W.M. Jones <rjones@redhat.com>2010-11-11 23:29:46 +0000
commit096f341714ee7d1575c93d437a8085821aa88d23 (patch)
tree10fd97347c84439c36d30144e20614bd92acde92 /src
parent649b990bbfe4127841d73ae86c92cc902ec56e93 (diff)
downloadlibguestfs-096f341714ee7d1575c93d437a8085821aa88d23.tar.gz
libguestfs-096f341714ee7d1575c93d437a8085821aa88d23.tar.xz
libguestfs-096f341714ee7d1575c93d437a8085821aa88d23.zip
Don't need to include XDR headers in <guestfs.h>.
Include the XDR headers in the internal guestfs-internal.h instead. This is knock-on effects to several other source files which were implicitly relying on indirectly loaded headers.
Diffstat (limited to 'src')
-rw-r--r--src/guestfs-internal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/guestfs-internal.h b/src/guestfs-internal.h
index f8b3e94d..6dbbeecb 100644
--- a/src/guestfs-internal.h
+++ b/src/guestfs-internal.h
@@ -19,6 +19,9 @@
#ifndef GUESTFS_INTERNAL_H_
#define GUESTFS_INTERNAL_H_
+#include <rpc/types.h>
+#include <rpc/xdr.h>
+
#ifdef HAVE_PCRE
#include <pcre.h>
#endif