Mercurial > gnulib
changeset 17293:87f819736ab1
Fix typo in previous change, by including <unistd.h>.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Tue, 22 Jan 2013 17:40:36 -0800 |
parents | 3a09cc104f4c |
children | 80f2d531cd96 |
files | 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 |
diffstat | 22 files changed, 22 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-accept.c Tue Jan 22 09:43:22 2013 -0800 +++ b/tests/test-accept.c Tue Jan 22 17:40:36 2013 -0800 @@ -23,6 +23,7 @@ #include <errno.h> #include <netinet/in.h> +#include <unistd.h> #include "sockets.h" #include "macros.h"
--- a/tests/test-accept4.c Tue Jan 22 09:43:22 2013 -0800 +++ b/tests/test-accept4.c Tue Jan 22 17:40:36 2013 -0800 @@ -24,6 +24,7 @@ #include <errno.h> #include <fcntl.h> #include <netinet/in.h> +#include <unistd.h> #include "binary-io.h" #include "sockets.h"
--- a/tests/test-bind.c Tue Jan 22 09:43:22 2013 -0800 +++ b/tests/test-bind.c Tue Jan 22 17:40:36 2013 -0800 @@ -24,6 +24,7 @@ #include <errno.h> #include <netinet/in.h> #include <arpa/inet.h> +#include <unistd.h> #include "sockets.h" #include "macros.h"
--- a/tests/test-connect.c Tue Jan 22 09:43:22 2013 -0800 +++ b/tests/test-connect.c Tue Jan 22 17:40:36 2013 -0800 @@ -24,6 +24,7 @@ #include <errno.h> #include <netinet/in.h> #include <arpa/inet.h> +#include <unistd.h> #include "sockets.h" #include "macros.h"
--- a/tests/test-dprintf.c Tue Jan 22 09:43:22 2013 -0800 +++ b/tests/test-dprintf.c Tue Jan 22 17:40:36 2013 -0800 @@ -22,6 +22,7 @@ SIGNATURE_CHECK (dprintf, int, (int, const char *, ...)); #include <errno.h> +#include <unistd.h> #include "macros.h"
--- a/tests/test-fchmod.c Tue Jan 22 09:43:22 2013 -0800 +++ b/tests/test-fchmod.c Tue Jan 22 17:40:36 2013 -0800 @@ -22,6 +22,7 @@ SIGNATURE_CHECK (fchmod, int, (int, mode_t)); #include <errno.h> +#include <unistd.h> #include "macros.h"
--- a/tests/test-fchmodat.c Tue Jan 22 09:43:22 2013 -0800 +++ b/tests/test-fchmodat.c Tue Jan 22 17:40:36 2013 -0800 @@ -22,6 +22,7 @@ SIGNATURE_CHECK (fchmodat, int, (int, const char *, mode_t, int)); #include <errno.h> +#include <unistd.h> #include "macros.h"
--- a/tests/test-fdopen.c Tue Jan 22 09:43:22 2013 -0800 +++ b/tests/test-fdopen.c Tue Jan 22 17:40:36 2013 -0800 @@ -22,6 +22,7 @@ SIGNATURE_CHECK (fdopen, FILE *, (int, const char *)); #include <errno.h> +#include <unistd.h> #include "macros.h"
--- a/tests/test-fstat.c Tue Jan 22 09:43:22 2013 -0800 +++ b/tests/test-fstat.c Tue Jan 22 17:40:36 2013 -0800 @@ -22,6 +22,7 @@ SIGNATURE_CHECK (fstat, int, (int, struct stat *)); #include <errno.h> +#include <unistd.h> #include "macros.h"
--- a/tests/test-getpeername.c Tue Jan 22 09:43:22 2013 -0800 +++ b/tests/test-getpeername.c Tue Jan 22 17:40:36 2013 -0800 @@ -23,6 +23,7 @@ #include <errno.h> #include <netinet/in.h> +#include <unistd.h.> #include "sockets.h" #include "macros.h"
--- a/tests/test-getsockname.c Tue Jan 22 09:43:22 2013 -0800 +++ b/tests/test-getsockname.c Tue Jan 22 17:40:36 2013 -0800 @@ -23,6 +23,7 @@ #include <errno.h> #include <netinet/in.h> +#include <unistd.h> #include "sockets.h" #include "macros.h"
--- a/tests/test-grantpt.c Tue Jan 22 09:43:22 2013 -0800 +++ b/tests/test-grantpt.c Tue Jan 22 17:40:36 2013 -0800 @@ -22,6 +22,7 @@ SIGNATURE_CHECK (grantpt, int, (int)); #include <errno.h> +#include <unistd.h> #include "macros.h"
--- a/tests/test-ioctl.c Tue Jan 22 09:43:22 2013 -0800 +++ b/tests/test-ioctl.c Tue Jan 22 17:40:36 2013 -0800 @@ -23,6 +23,7 @@ SIGNATURE_CHECK (ioctl, int, (int, int, ...)); #include <errno.h> +#include <unistd.h> #include "macros.h"
--- a/tests/test-listen.c Tue Jan 22 09:43:22 2013 -0800 +++ b/tests/test-listen.c Tue Jan 22 17:40:36 2013 -0800 @@ -22,6 +22,7 @@ SIGNATURE_CHECK (listen, int, (int, int)); #include <errno.h> +#include <unistd.h> #include "sockets.h" #include "macros.h"
--- a/tests/test-recv.c Tue Jan 22 09:43:22 2013 -0800 +++ b/tests/test-recv.c Tue Jan 22 17:40:36 2013 -0800 @@ -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"
--- a/tests/test-recvfrom.c Tue Jan 22 09:43:22 2013 -0800 +++ b/tests/test-recvfrom.c Tue Jan 22 17:40:36 2013 -0800 @@ -25,6 +25,7 @@ #include <errno.h> #include <netinet/in.h> +#include <unistd.h> #include "sockets.h" #include "macros.h"
--- a/tests/test-send.c Tue Jan 22 09:43:22 2013 -0800 +++ b/tests/test-send.c Tue Jan 22 17:40:36 2013 -0800 @@ -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"
--- a/tests/test-sendto.c Tue Jan 22 09:43:22 2013 -0800 +++ b/tests/test-sendto.c Tue Jan 22 17:40:36 2013 -0800 @@ -26,6 +26,7 @@ #include <errno.h> #include <netinet/in.h> #include <arpa/inet.h> +#include <unistd.h> #include "sockets.h" #include "macros.h"
--- a/tests/test-setsockopt.c Tue Jan 22 09:43:22 2013 -0800 +++ b/tests/test-setsockopt.c Tue Jan 22 17:40:36 2013 -0800 @@ -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"
--- a/tests/test-shutdown.c Tue Jan 22 09:43:22 2013 -0800 +++ b/tests/test-shutdown.c Tue Jan 22 17:40:36 2013 -0800 @@ -22,6 +22,7 @@ SIGNATURE_CHECK (shutdown, int, (int, int)); #include <errno.h> +#include <unistd.h> #include "sockets.h" #include "macros.h"