Fix typo in previous change, by including <unistd.h>.
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 23 Jan 2013 01:40:36 +0000 (17:40 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 23 Jan 2013 01:40:54 +0000 (17:40 -0800)
22 files changed:
tests/test-accept.c
tests/test-accept4.c
tests/test-bind.c
tests/test-connect.c
tests/test-dprintf.c
tests/test-fchmod.c
tests/test-fchmodat.c
tests/test-fdopen.c
tests/test-fstat.c
tests/test-getpeername.c
tests/test-getsockname.c
tests/test-grantpt.c
tests/test-ioctl.c
tests/test-listen.c
tests/test-recv.c
tests/test-recvfrom.c
tests/test-send.c
tests/test-sendto.c
tests/test-setsockopt.c
tests/test-shutdown.c
tests/test-unlockpt.c
tests/test-vdprintf.c

index 2dec5b0..2af98af 100644 (file)
@@ -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"
index 05a56ce..99f901b 100644 (file)
@@ -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"
index 1e8fa29..fe85410 100644 (file)
@@ -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"
index 4527730..a1cd5f1 100644 (file)
@@ -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"
index 8981107..b70e91c 100644 (file)
@@ -22,6 +22,7 @@
 SIGNATURE_CHECK (dprintf, int, (int, const char *, ...));
 
 #include <errno.h>
+#include <unistd.h>
 
 #include "macros.h"
 
index bf576b6..6a33440 100644 (file)
@@ -22,6 +22,7 @@
 SIGNATURE_CHECK (fchmod, int, (int, mode_t));
 
 #include <errno.h>
+#include <unistd.h>
 
 #include "macros.h"
 
index ed35c1b..082f2b4 100644 (file)
@@ -22,6 +22,7 @@
 SIGNATURE_CHECK (fchmodat, int, (int, const char *, mode_t, int));
 
 #include <errno.h>
+#include <unistd.h>
 
 #include "macros.h"
 
index 5603616..671c5e3 100644 (file)
@@ -22,6 +22,7 @@
 SIGNATURE_CHECK (fdopen, FILE *, (int, const char *));
 
 #include <errno.h>
+#include <unistd.h>
 
 #include "macros.h"
 
index 0f63229..8ce1527 100644 (file)
@@ -22,6 +22,7 @@
 SIGNATURE_CHECK (fstat, int, (int, struct stat *));
 
 #include <errno.h>
+#include <unistd.h>
 
 #include "macros.h"
 
index bd82e96..fa858fa 100644 (file)
@@ -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"
index 617b0a7..945e2ed 100644 (file)
@@ -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"
index 4665b32..09f04e3 100644 (file)
@@ -22,6 +22,7 @@
 SIGNATURE_CHECK (grantpt, int, (int));
 
 #include <errno.h>
+#include <unistd.h>
 
 #include "macros.h"
 
index 20ecb99..489bccc 100644 (file)
@@ -23,6 +23,7 @@
 SIGNATURE_CHECK (ioctl, int, (int, int, ...));
 
 #include <errno.h>
+#include <unistd.h>
 
 #include "macros.h"
 
index 3f28b65..206923f 100644 (file)
@@ -22,6 +22,7 @@
 SIGNATURE_CHECK (listen, int, (int, int));
 
 #include <errno.h>
+#include <unistd.h>
 
 #include "sockets.h"
 #include "macros.h"
index 1605db5..353293a 100644 (file)
@@ -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"
index dc83329..6f59a34 100644 (file)
@@ -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"
index d7af0fe..2b41e21 100644 (file)
@@ -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"
index a99a221..536acab 100644 (file)
@@ -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"
index 824d46c..323b8e7 100644 (file)
@@ -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"
index ae20706..781577d 100644 (file)
@@ -22,6 +22,7 @@
 SIGNATURE_CHECK (shutdown, int, (int, int));
 
 #include <errno.h>
+#include <unistd.h>
 
 #include "sockets.h"
 #include "macros.h"
index 55fd980..ee3bb82 100644 (file)
@@ -22,6 +22,7 @@
 SIGNATURE_CHECK (unlockpt, int, (int));
 
 #include <errno.h>
+#include <unistd.h>
 
 #include "macros.h"
 
index 024cc74..7f669a7 100644 (file)
@@ -22,6 +22,7 @@
 SIGNATURE_CHECK (vdprintf, int, (int, const char *, va_list));
 
 #include <errno.h>
+#include <unistd.h>
 
 #include "macros.h"