summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--daemon/ext2.c1
-rw-r--r--daemon/fill.c1
-rw-r--r--daemon/find.c1
-rw-r--r--daemon/initrd.c1
4 files changed, 4 insertions, 0 deletions
diff --git a/daemon/ext2.c b/daemon/ext2.c
index f768440d..f46bac9a 100644
--- a/daemon/ext2.c
+++ b/daemon/ext2.c
@@ -20,6 +20,7 @@
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <unistd.h>
#include "../src/guestfs_protocol.h"
diff --git a/daemon/fill.c b/daemon/fill.c
index b1b0f5e7..95515025 100644
--- a/daemon/fill.c
+++ b/daemon/fill.c
@@ -20,6 +20,7 @@
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <unistd.h>
#include <fcntl.h>
diff --git a/daemon/find.c b/daemon/find.c
index 98895ab3..391b87bb 100644
--- a/daemon/find.c
+++ b/daemon/find.c
@@ -23,6 +23,7 @@
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
+#include <limits.h>
#include <sys/stat.h>
#include "../src/guestfs_protocol.h"
diff --git a/daemon/initrd.c b/daemon/initrd.c
index 9431ef1f..9c92fee5 100644
--- a/daemon/initrd.c
+++ b/daemon/initrd.c
@@ -21,6 +21,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <limits.h>
#include <unistd.h>
#include "../src/guestfs_protocol.h"