summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbcook <bcook@openbsd.org>2014-07-09 15:19:52 +0000
committerbcook <bcook@openbsd.org>2014-07-09 15:19:52 +0000
commit4d235d41f65c95bbc95281988e8c5901920a3c6e (patch)
tree63f3cc25c87ec0e31fa35c3d8c39a4c925980e28
parentPrint sizeof() value and size_t variable with %zu rather than %zd. (diff)
downloadwireguard-openbsd-4d235d41f65c95bbc95281988e8c5901920a3c6e.tar.xz
wireguard-openbsd-4d235d41f65c95bbc95281988e8c5901920a3c6e.zip
add <sys/filio.h> header for FIONBIO
ok beck@
-rw-r--r--lib/libcrypto/bio/b_sock.c3
-rw-r--r--lib/libssl/src/crypto/bio/b_sock.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/lib/libcrypto/bio/b_sock.c b/lib/libcrypto/bio/b_sock.c
index e14e7fedf8c..cd57643b941 100644
--- a/lib/libcrypto/bio/b_sock.c
+++ b/lib/libcrypto/bio/b_sock.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: b_sock.c,v 1.48 2014/07/08 11:08:37 jsing Exp $ */
+/* $OpenBSD: b_sock.c,v 1.49 2014/07/09 15:19:52 bcook Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -56,6 +56,7 @@
* [including the GNU Public Licence.]
*/
+#include <sys/filio.h>
#include <sys/ioctl.h>
#include <sys/socket.h>
diff --git a/lib/libssl/src/crypto/bio/b_sock.c b/lib/libssl/src/crypto/bio/b_sock.c
index e14e7fedf8c..cd57643b941 100644
--- a/lib/libssl/src/crypto/bio/b_sock.c
+++ b/lib/libssl/src/crypto/bio/b_sock.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: b_sock.c,v 1.48 2014/07/08 11:08:37 jsing Exp $ */
+/* $OpenBSD: b_sock.c,v 1.49 2014/07/09 15:19:52 bcook Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -56,6 +56,7 @@
* [including the GNU Public Licence.]
*/
+#include <sys/filio.h>
#include <sys/ioctl.h>
#include <sys/socket.h>