unistd.h exposed after -Wall after e_os.h stops doing so; spotted by matthew
authorderaadt <deraadt@openbsd.org>
Thu, 17 Apr 2014 21:45:45 +0000 (21:45 +0000)
committerderaadt <deraadt@openbsd.org>
Thu, 17 Apr 2014 21:45:45 +0000 (21:45 +0000)
lib/libssl/src/apps/apps.c
lib/libssl/src/apps/ca.c
lib/libssl/src/apps/s_client.c
lib/libssl/src/apps/s_server.c
lib/libssl/src/apps/s_socket.c

index 753dbf5..7a8618f 100644 (file)
 #include <ctype.h>
 #include <errno.h>
 #include <assert.h>
+#include <unistd.h>
 #include <openssl/err.h>
 #include <openssl/x509.h>
 #include <openssl/x509v3.h>
index cd33047..0bef50b 100644 (file)
@@ -62,6 +62,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <ctype.h>
+#include <unistd.h>
 #include <sys/types.h>
 #include <openssl/conf.h>
 #include <openssl/bio.h>
index 0b300a5..3f0d570 100644 (file)
 #include <stdlib.h>
 #include <limits.h>
 #include <string.h>
+#include <unistd.h>
 #include <openssl/e_os2.h>
 #include <netdb.h>
 #include <sys/socket.h>
index 1396992..ca1873d 100644 (file)
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+#include <unistd.h>
 #include <sys/socket.h>
 
 #include <openssl/e_os2.h>
index 097c900..6e7d315 100644 (file)
@@ -62,6 +62,7 @@
 #include <errno.h>
 #include <signal.h>
 #include <netdb.h>
+#include <unistd.h>
 #include <sys/socket.h>
 #include <netinet/in.h>