summaryrefslogtreecommitdiff
path: root/lib/libcrypto/bio
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2014-04-18 11:33:34 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2014-04-18 11:33:34 +0000
commitccb4ed9d5f27b2a66cdbe5fffee8b4ae146e70fc (patch)
tree9ab2729dbf704137c48f0efe7c0adce4370a26cb /lib/libcrypto/bio
parentf0aca4f46212a12a31939879e75704c146ae192b (diff)
unistd.h for protos where needed
Diffstat (limited to 'lib/libcrypto/bio')
-rw-r--r--lib/libcrypto/bio/b_sock.c1
-rw-r--r--lib/libcrypto/bio/bss_acpt.c1
-rw-r--r--lib/libcrypto/bio/bss_conn.c1
-rw-r--r--lib/libcrypto/bio/bss_dgram.c1
-rw-r--r--lib/libcrypto/bio/bss_fd.c1
-rw-r--r--lib/libcrypto/bio/bss_sock.c1
6 files changed, 6 insertions, 0 deletions
diff --git a/lib/libcrypto/bio/b_sock.c b/lib/libcrypto/bio/b_sock.c
index b43cb713a7e..cd8216b7e2a 100644
--- a/lib/libcrypto/bio/b_sock.c
+++ b/lib/libcrypto/bio/b_sock.c
@@ -58,6 +58,7 @@
#include <stdio.h>
#include <stdlib.h>
+#include <unistd.h>
#include <errno.h>
#include "cryptlib.h"
#include <openssl/bio.h>
diff --git a/lib/libcrypto/bio/bss_acpt.c b/lib/libcrypto/bio/bss_acpt.c
index 27a4d371dc2..dab8a811e15 100644
--- a/lib/libcrypto/bio/bss_acpt.c
+++ b/lib/libcrypto/bio/bss_acpt.c
@@ -58,6 +58,7 @@
#include <stdio.h>
#include <errno.h>
+#include <unistd.h>
#include "cryptlib.h"
#include <openssl/bio.h>
#include <sys/socket.h>
diff --git a/lib/libcrypto/bio/bss_conn.c b/lib/libcrypto/bio/bss_conn.c
index 46667bc7d62..12cbed2ae92 100644
--- a/lib/libcrypto/bio/bss_conn.c
+++ b/lib/libcrypto/bio/bss_conn.c
@@ -58,6 +58,7 @@
#include <stdio.h>
#include <errno.h>
+#include <unistd.h>
#include "cryptlib.h"
#include <openssl/bio.h>
#include <netdb.h>
diff --git a/lib/libcrypto/bio/bss_dgram.c b/lib/libcrypto/bio/bss_dgram.c
index 69cf436f44b..e950528a42c 100644
--- a/lib/libcrypto/bio/bss_dgram.c
+++ b/lib/libcrypto/bio/bss_dgram.c
@@ -60,6 +60,7 @@
#include <stdio.h>
#include <errno.h>
+#include <unistd.h>
#include "cryptlib.h"
#include <openssl/bio.h>
#include <netdb.h>
diff --git a/lib/libcrypto/bio/bss_fd.c b/lib/libcrypto/bio/bss_fd.c
index b84719c4870..8ea80f1f65c 100644
--- a/lib/libcrypto/bio/bss_fd.c
+++ b/lib/libcrypto/bio/bss_fd.c
@@ -58,6 +58,7 @@
#include <stdio.h>
#include <errno.h>
+#include <unistd.h>
#include "cryptlib.h"
#if defined(OPENSSL_NO_POSIX_IO)
diff --git a/lib/libcrypto/bio/bss_sock.c b/lib/libcrypto/bio/bss_sock.c
index 7c499634fbc..0cba37f174f 100644
--- a/lib/libcrypto/bio/bss_sock.c
+++ b/lib/libcrypto/bio/bss_sock.c
@@ -58,6 +58,7 @@
#include <stdio.h>
#include <errno.h>
+#include <unistd.h>
#include "cryptlib.h"
#include <sys/socket.h>