Mercurial > hg > octave-kai > gnulib-hg
changeset 17296: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 +++ b/tests/test-accept.c @@ -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 +++ b/tests/test-accept4.c @@ -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 +++ b/tests/test-bind.c @@ -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 +++ b/tests/test-connect.c @@ -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 +++ 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"
--- 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"
--- 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"
--- 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"
--- 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"
--- a/tests/test-getpeername.c +++ b/tests/test-getpeername.c @@ -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 +++ b/tests/test-getsockname.c @@ -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 +++ b/tests/test-grantpt.c @@ -22,6 +22,7 @@ SIGNATURE_CHECK (grantpt, int, (int)); #include <errno.h> +#include <unistd.h> #include "macros.h"
--- 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"
--- 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"
--- 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"
--- a/tests/test-recvfrom.c +++ b/tests/test-recvfrom.c @@ -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 +++ 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"
--- a/tests/test-sendto.c +++ b/tests/test-sendto.c @@ -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 +++ 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"
--- 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"