summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--console-client/vga-support.c1
-rw-r--r--libiohelp/iouser-dup.c2
-rw-r--r--libiohelp/iouser-free.c2
-rw-r--r--libiohelp/iouser-reauth.c1
-rw-r--r--libiohelp/return-buffer.c1
-rw-r--r--libiohelp/shared.c2
-rw-r--r--nfsd/cache.c1
-rw-r--r--pflocal/connq.c1
8 files changed, 11 insertions, 0 deletions
diff --git a/console-client/vga-support.c b/console-client/vga-support.c
index 2837a6e0..130bcc50 100644
--- a/console-client/vga-support.c
+++ b/console-client/vga-support.c
@@ -26,6 +26,7 @@
#include <sys/mman.h>
#include <sys/types.h>
#include <string.h>
+#include <stdlib.h>
#include "vga-hw.h"
#include "vga-support.h"
diff --git a/libiohelp/iouser-dup.c b/libiohelp/iouser-dup.c
index 9158d0c4..ae55ad1d 100644
--- a/libiohelp/iouser-dup.c
+++ b/libiohelp/iouser-dup.c
@@ -17,6 +17,8 @@
#include "iohelp.h"
+#include <stdlib.h>
+
error_t
iohelp_dup_iouser (struct iouser **clone, struct iouser *iouser)
{
diff --git a/libiohelp/iouser-free.c b/libiohelp/iouser-free.c
index 4cfdc954..19153da7 100644
--- a/libiohelp/iouser-free.c
+++ b/libiohelp/iouser-free.c
@@ -17,6 +17,8 @@
#include "iohelp.h"
+#include <stdlib.h>
+
void
iohelp_free_iouser (struct iouser *iouser)
{
diff --git a/libiohelp/iouser-reauth.c b/libiohelp/iouser-reauth.c
index 4125cfb8..9edab7cf 100644
--- a/libiohelp/iouser-reauth.c
+++ b/libiohelp/iouser-reauth.c
@@ -18,6 +18,7 @@
#include "iohelp.h"
#include <hurd/auth.h>
#include <sys/mman.h>
+#include <stdlib.h>
/* Conduct a reauthentication transaction, returning a new iouser.
AUTHSERVER is the I/O servers auth port. The rendezvous port
diff --git a/libiohelp/return-buffer.c b/libiohelp/return-buffer.c
index 3095dfb6..e186698f 100644
--- a/libiohelp/return-buffer.c
+++ b/libiohelp/return-buffer.c
@@ -23,6 +23,7 @@
#include <string.h>
#include <mach.h>
#include <sys/mman.h>
+#include <stdlib.h>
#include "iohelp.h"
diff --git a/libiohelp/shared.c b/libiohelp/shared.c
index 082b526b..b31a7170 100644
--- a/libiohelp/shared.c
+++ b/libiohelp/shared.c
@@ -18,6 +18,8 @@
#include "iohelp.h"
+#include <stdlib.h>
+
/* These definitions exist to satisfy the linker. */
void __attribute__ ((weak))
diff --git a/nfsd/cache.c b/nfsd/cache.c
index 5b94e71d..778f5570 100644
--- a/nfsd/cache.c
+++ b/nfsd/cache.c
@@ -27,6 +27,7 @@
#include <pthread.h>
#include <hurd/io.h>
#include <hurd/auth.h>
+#include <mach.h>
#include "nfsd.h"
diff --git a/pflocal/connq.c b/pflocal/connq.c
index bf937652..ab2b3a55 100644
--- a/pflocal/connq.c
+++ b/pflocal/connq.c
@@ -20,6 +20,7 @@
#include <pthread.h>
#include <assert.h>
+#include <stdlib.h>
#include "connq.h"