summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2013-01-22 17:40:36 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2013-01-22 17:40:54 -0800
commit9feb36ba1ebe07be10c9429bc6ede269d9828ed2 (patch)
treea28f013c3e83ee59f862245e5fa06e0407228ea1
parent10302c2e3cd5a04446a4c9fb4ece0beceed30373 (diff)
downloadgnulib-9feb36ba1ebe07be10c9429bc6ede269d9828ed2.tar.gz
Fix typo in previous change, by including <unistd.h>.
-rw-r--r--tests/test-accept.c1
-rw-r--r--tests/test-accept4.c1
-rw-r--r--tests/test-bind.c1
-rw-r--r--tests/test-connect.c1
-rw-r--r--tests/test-dprintf.c1
-rw-r--r--tests/test-fchmod.c1
-rw-r--r--tests/test-fchmodat.c1
-rw-r--r--tests/test-fdopen.c1
-rw-r--r--tests/test-fstat.c1
-rw-r--r--tests/test-getpeername.c1
-rw-r--r--tests/test-getsockname.c1
-rw-r--r--tests/test-grantpt.c1
-rw-r--r--tests/test-ioctl.c1
-rw-r--r--tests/test-listen.c1
-rw-r--r--tests/test-recv.c1
-rw-r--r--tests/test-recvfrom.c1
-rw-r--r--tests/test-send.c1
-rw-r--r--tests/test-sendto.c1
-rw-r--r--tests/test-setsockopt.c1
-rw-r--r--tests/test-shutdown.c1
-rw-r--r--tests/test-unlockpt.c1
-rw-r--r--tests/test-vdprintf.c1
22 files changed, 22 insertions, 0 deletions
diff --git a/tests/test-accept.c b/tests/test-accept.c
index 2dec5b0496..2af98afacf 100644
--- a/tests/test-accept.c
+++ b/tests/test-accept.c
@@ -23,6 +23,7 @@ SIGNATURE_CHECK (accept, int, (int, struct sockaddr *, socklen_t *));
#include <errno.h>
#include <netinet/in.h>
+#include <unistd.h>
#include "sockets.h"
#include "macros.h"
diff --git a/tests/test-accept4.c b/tests/test-accept4.c
index 05a56ce5d7..99f901b330 100644
--- a/tests/test-accept4.c
+++ b/tests/test-accept4.c
@@ -24,6 +24,7 @@ SIGNATURE_CHECK (accept4, int, (int, struct sockaddr *, socklen_t *, int));
#include <errno.h>
#include <fcntl.h>
#include <netinet/in.h>
+#include <unistd.h>
#include "binary-io.h"
#include "sockets.h"
diff --git a/tests/test-bind.c b/tests/test-bind.c
index 1e8fa29cb1..fe8541041e 100644
--- a/tests/test-bind.c
+++ b/tests/test-bind.c
@@ -24,6 +24,7 @@ SIGNATURE_CHECK (bind, int, (int, const struct sockaddr *, socklen_t));
#include <errno.h>
#include <netinet/in.h>
#include <arpa/inet.h>
+#include <unistd.h>
#include "sockets.h"
#include "macros.h"
diff --git a/tests/test-connect.c b/tests/test-connect.c
index 4527730cd5..a1cd5f17ba 100644
--- a/tests/test-connect.c
+++ b/tests/test-connect.c
@@ -24,6 +24,7 @@ SIGNATURE_CHECK (connect, int, (int, const struct sockaddr *, socklen_t));
#include <errno.h>
#include <netinet/in.h>
#include <arpa/inet.h>
+#include <unistd.h>
#include "sockets.h"
#include "macros.h"
diff --git a/tests/test-dprintf.c b/tests/test-dprintf.c
index 89811077e3..b70e91cbbc 100644
--- a/tests/test-dprintf.c
+++ b/tests/test-dprintf.c
@@ -22,6 +22,7 @@
SIGNATURE_CHECK (dprintf, int, (int, const char *, ...));
#include <errno.h>
+#include <unistd.h>
#include "macros.h"
diff --git a/tests/test-fchmod.c b/tests/test-fchmod.c
index bf576b60ba..6a334402bd 100644
--- a/tests/test-fchmod.c
+++ b/tests/test-fchmod.c
@@ -22,6 +22,7 @@
SIGNATURE_CHECK (fchmod, int, (int, mode_t));
#include <errno.h>
+#include <unistd.h>
#include "macros.h"
diff --git a/tests/test-fchmodat.c b/tests/test-fchmodat.c
index ed35c1b055..082f2b48f0 100644
--- a/tests/test-fchmodat.c
+++ b/tests/test-fchmodat.c
@@ -22,6 +22,7 @@
SIGNATURE_CHECK (fchmodat, int, (int, const char *, mode_t, int));
#include <errno.h>
+#include <unistd.h>
#include "macros.h"
diff --git a/tests/test-fdopen.c b/tests/test-fdopen.c
index 5603616c3b..671c5e3d1f 100644
--- a/tests/test-fdopen.c
+++ b/tests/test-fdopen.c
@@ -22,6 +22,7 @@
SIGNATURE_CHECK (fdopen, FILE *, (int, const char *));
#include <errno.h>
+#include <unistd.h>
#include "macros.h"
diff --git a/tests/test-fstat.c b/tests/test-fstat.c
index 0f6322935e..8ce15277af 100644
--- a/tests/test-fstat.c
+++ b/tests/test-fstat.c
@@ -22,6 +22,7 @@
SIGNATURE_CHECK (fstat, int, (int, struct stat *));
#include <errno.h>
+#include <unistd.h>
#include "macros.h"
diff --git a/tests/test-getpeername.c b/tests/test-getpeername.c
index bd82e96587..fa858fa765 100644
--- a/tests/test-getpeername.c
+++ b/tests/test-getpeername.c
@@ -23,6 +23,7 @@ SIGNATURE_CHECK (getpeername, int, (int, struct sockaddr *, socklen_t *));
#include <errno.h>
#include <netinet/in.h>
+#include <unistd.h.>
#include "sockets.h"
#include "macros.h"
diff --git a/tests/test-getsockname.c b/tests/test-getsockname.c
index 617b0a700c..945e2edd5c 100644
--- a/tests/test-getsockname.c
+++ b/tests/test-getsockname.c
@@ -23,6 +23,7 @@ SIGNATURE_CHECK (getsockname, int, (int, struct sockaddr *, socklen_t *));
#include <errno.h>
#include <netinet/in.h>
+#include <unistd.h>
#include "sockets.h"
#include "macros.h"
diff --git a/tests/test-grantpt.c b/tests/test-grantpt.c
index 4665b32582..09f04e3ee6 100644
--- a/tests/test-grantpt.c
+++ b/tests/test-grantpt.c
@@ -22,6 +22,7 @@
SIGNATURE_CHECK (grantpt, int, (int));
#include <errno.h>
+#include <unistd.h>
#include "macros.h"
diff --git a/tests/test-ioctl.c b/tests/test-ioctl.c
index 20ecb99032..489bccc3ea 100644
--- a/tests/test-ioctl.c
+++ b/tests/test-ioctl.c
@@ -23,6 +23,7 @@
SIGNATURE_CHECK (ioctl, int, (int, int, ...));
#include <errno.h>
+#include <unistd.h>
#include "macros.h"
diff --git a/tests/test-listen.c b/tests/test-listen.c
index 3f28b65f6e..206923faca 100644
--- a/tests/test-listen.c
+++ b/tests/test-listen.c
@@ -22,6 +22,7 @@
SIGNATURE_CHECK (listen, int, (int, int));
#include <errno.h>
+#include <unistd.h>
#include "sockets.h"
#include "macros.h"
diff --git a/tests/test-recv.c b/tests/test-recv.c
index 1605db569c..353293aaff 100644
--- a/tests/test-recv.c
+++ b/tests/test-recv.c
@@ -22,6 +22,7 @@
SIGNATURE_CHECK (recv, ssize_t, (int, void *, size_t, int));
#include <errno.h>
+#include <unistd.h>
#include "sockets.h"
#include "macros.h"
diff --git a/tests/test-recvfrom.c b/tests/test-recvfrom.c
index dc83329fb3..6f59a34abf 100644
--- a/tests/test-recvfrom.c
+++ b/tests/test-recvfrom.c
@@ -25,6 +25,7 @@ SIGNATURE_CHECK (recvfrom, ssize_t,
#include <errno.h>
#include <netinet/in.h>
+#include <unistd.h>
#include "sockets.h"
#include "macros.h"
diff --git a/tests/test-send.c b/tests/test-send.c
index d7af0fe0b8..2b41e21b99 100644
--- a/tests/test-send.c
+++ b/tests/test-send.c
@@ -22,6 +22,7 @@
SIGNATURE_CHECK (send, ssize_t, (int, const void *, size_t, int));
#include <errno.h>
+#include <unistd.h>
#include "sockets.h"
#include "macros.h"
diff --git a/tests/test-sendto.c b/tests/test-sendto.c
index a99a22149b..536acab2cb 100644
--- a/tests/test-sendto.c
+++ b/tests/test-sendto.c
@@ -26,6 +26,7 @@ SIGNATURE_CHECK (sendto, ssize_t,
#include <errno.h>
#include <netinet/in.h>
#include <arpa/inet.h>
+#include <unistd.h>
#include "sockets.h"
#include "macros.h"
diff --git a/tests/test-setsockopt.c b/tests/test-setsockopt.c
index 824d46c896..323b8e7811 100644
--- a/tests/test-setsockopt.c
+++ b/tests/test-setsockopt.c
@@ -22,6 +22,7 @@
SIGNATURE_CHECK (setsockopt, int, (int, int, int, const void *, socklen_t));
#include <errno.h>
+#include <unistd.h>
#include "sockets.h"
#include "macros.h"
diff --git a/tests/test-shutdown.c b/tests/test-shutdown.c
index ae20706b21..781577d84d 100644
--- a/tests/test-shutdown.c
+++ b/tests/test-shutdown.c
@@ -22,6 +22,7 @@
SIGNATURE_CHECK (shutdown, int, (int, int));
#include <errno.h>
+#include <unistd.h>
#include "sockets.h"
#include "macros.h"
diff --git a/tests/test-unlockpt.c b/tests/test-unlockpt.c
index 55fd9805a2..ee3bb8295a 100644
--- a/tests/test-unlockpt.c
+++ b/tests/test-unlockpt.c
@@ -22,6 +22,7 @@
SIGNATURE_CHECK (unlockpt, int, (int));
#include <errno.h>
+#include <unistd.h>
#include "macros.h"
diff --git a/tests/test-vdprintf.c b/tests/test-vdprintf.c
index 024cc742bf..7f669a75f7 100644
--- a/tests/test-vdprintf.c
+++ b/tests/test-vdprintf.c
@@ -22,6 +22,7 @@
SIGNATURE_CHECK (vdprintf, int, (int, const char *, va_list));
#include <errno.h>
+#include <unistd.h>
#include "macros.h"