about summary refs log tree commit diff
path: root/posix
diff options
context:
space:
mode:
Diffstat (limited to 'posix')
-rw-r--r--posix/globtest.c1
-rw-r--r--posix/runtests.c1
-rw-r--r--posix/test-vfork.c1
-rw-r--r--posix/tst-getaddrinfo.c1
-rw-r--r--posix/wordexp-test.c3
5 files changed, 6 insertions, 1 deletions
diff --git a/posix/globtest.c b/posix/globtest.c
index 90b9eb6ad3..231459490b 100644
--- a/posix/globtest.c
+++ b/posix/globtest.c
@@ -18,6 +18,7 @@
 
 #include <getopt.h>
 #include <stdio.h>
+#include <stdlib.h>
 #include <unistd.h>
 #include <glob.h>
 
diff --git a/posix/runtests.c b/posix/runtests.c
index 8347286989..2e823fb52f 100644
--- a/posix/runtests.c
+++ b/posix/runtests.c
@@ -28,6 +28,7 @@ PERFORMANCE OF THIS SOFTWARE.
 #include <regex.h>
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 
 
 
diff --git a/posix/test-vfork.c b/posix/test-vfork.c
index 2abeb5ae14..66c17c3d90 100644
--- a/posix/test-vfork.c
+++ b/posix/test-vfork.c
@@ -1,4 +1,5 @@
 #include <stdio.h>
+#include <stdlib.h>
 #include <unistd.h>
 #include <error.h>
 #include <errno.h>
diff --git a/posix/tst-getaddrinfo.c b/posix/tst-getaddrinfo.c
index f954506824..a37a8d62d9 100644
--- a/posix/tst-getaddrinfo.c
+++ b/posix/tst-getaddrinfo.c
@@ -17,6 +17,7 @@
    Boston, MA 02111-1307, USA.  */
 
 #include <stdio.h>
+#include <string.h>
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <netinet/in.h>
diff --git a/posix/wordexp-test.c b/posix/wordexp-test.c
index 69cfbb1d0d..79e094c3dc 100644
--- a/posix/wordexp-test.c
+++ b/posix/wordexp-test.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997, 1998 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 1998, 2000 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -23,6 +23,7 @@
 #include <pwd.h>
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 #include <wordexp.h>
 
 #define IFS " \n\t"