summaryrefslogtreecommitdiff
path: root/posix
diff options
context:
space:
mode:
Diffstat (limited to 'posix')
-rw-r--r--posix/tst-getaddrinfo2.c1
-rw-r--r--posix/tst-getaddrinfo5.c1
-rw-r--r--posix/tst-pathconf.c1
-rw-r--r--posix/tst-posix_fadvise-common.c1
-rw-r--r--posix/tst-preadwrite-common.c1
-rw-r--r--posix/tst-regex.c4
-rw-r--r--posix/tst-regexloc.c3
-rw-r--r--posix/tst-vfork3.c1
8 files changed, 7 insertions, 6 deletions
diff --git a/posix/tst-getaddrinfo2.c b/posix/tst-getaddrinfo2.c
index 13edca0a34..d8be4a8e8f 100644
--- a/posix/tst-getaddrinfo2.c
+++ b/posix/tst-getaddrinfo2.c
@@ -2,6 +2,7 @@
#include <errno.h>
#include <netdb.h>
#include <unistd.h>
+#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/socket.h>
diff --git a/posix/tst-getaddrinfo5.c b/posix/tst-getaddrinfo5.c
index eb3934492f..acb1c29964 100644
--- a/posix/tst-getaddrinfo5.c
+++ b/posix/tst-getaddrinfo5.c
@@ -19,6 +19,7 @@
#include <sys/types.h>
#include <sys/socket.h>
#include <netdb.h>
+#include <stdio.h>
#include <string.h>
static int
diff --git a/posix/tst-pathconf.c b/posix/tst-pathconf.c
index 5014a2b2ac..cce59e6d47 100644
--- a/posix/tst-pathconf.c
+++ b/posix/tst-pathconf.c
@@ -21,6 +21,7 @@
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
+#include <sys/stat.h>
static void prepare (void);
diff --git a/posix/tst-posix_fadvise-common.c b/posix/tst-posix_fadvise-common.c
index 2e7c07f3b0..45e36fc56f 100644
--- a/posix/tst-posix_fadvise-common.c
+++ b/posix/tst-posix_fadvise-common.c
@@ -19,6 +19,7 @@
#include <errno.h>
#include <fcntl.h>
#include <limits.h>
+#include <stdint.h>
#include <stdlib.h>
#include <sys/types.h>
#include <sys/stat.h>
diff --git a/posix/tst-preadwrite-common.c b/posix/tst-preadwrite-common.c
index 034f84d696..9468ed85a9 100644
--- a/posix/tst-preadwrite-common.c
+++ b/posix/tst-preadwrite-common.c
@@ -20,6 +20,7 @@
#include <error.h>
#include <string.h>
#include <unistd.h>
+#include <sys/stat.h>
static void do_prepare (void);
#define PREPARE(argc, argv) do_prepare ()
diff --git a/posix/tst-regex.c b/posix/tst-regex.c
index 112acf02f2..df2c108be5 100644
--- a/posix/tst-regex.c
+++ b/posix/tst-regex.c
@@ -15,9 +15,6 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
-#include <spawn.h>
-#include "spawn_int.h"
-
#include <assert.h>
#include <errno.h>
#include <error.h>
@@ -26,6 +23,7 @@
#include <iconv.h>
#include <locale.h>
#include <mcheck.h>
+#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/posix/tst-regexloc.c b/posix/tst-regexloc.c
index 8fbb4b1f5d..0dbd061973 100644
--- a/posix/tst-regexloc.c
+++ b/posix/tst-regexloc.c
@@ -15,9 +15,6 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
-#include <spawn.h>
-#include "spawn_int.h"
-
#include <sys/types.h>
#include <regex.h>
#include <locale.h>
diff --git a/posix/tst-vfork3.c b/posix/tst-vfork3.c
index 4ee19733b4..c104271c44 100644
--- a/posix/tst-vfork3.c
+++ b/posix/tst-vfork3.c
@@ -23,6 +23,7 @@
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
+#include <sys/stat.h>
#include <sys/wait.h>
static int do_test (void);