summaryrefslogtreecommitdiffstats
path: root/fish
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 /fish
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 'fish')
-rw-r--r--fish/copy.c1
-rw-r--r--fish/progress.c1
-rw-r--r--fish/time.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/fish/copy.c b/fish/copy.c
index f5edad11..9f3f3df6 100644
--- a/fish/copy.c
+++ b/fish/copy.c
@@ -22,6 +22,7 @@
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
+#include <limits.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/wait.h>
diff --git a/fish/progress.c b/fish/progress.c
index f1967866..27dfbece 100644
--- a/fish/progress.c
+++ b/fish/progress.c
@@ -22,6 +22,7 @@
#include <stdlib.h>
#include <inttypes.h>
#include <math.h>
+#include <sys/time.h>
#include <guestfs.h>
diff --git a/fish/time.c b/fish/time.c
index 48cf1002..931403f2 100644
--- a/fish/time.c
+++ b/fish/time.c
@@ -22,6 +22,7 @@
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
+#include <sys/time.h>
#include "fish.h"