diff options
author | 2014-07-09 23:46:14 +0000 | |
---|---|---|
committer | 2014-07-09 23:46:14 +0000 | |
commit | 6b12a48066480adf979331e245b67f5da0434614 (patch) | |
tree | e316fedf2b5477e29669dda4f57a21aa482ef4da | |
parent | regen (diff) | |
download | wireguard-openbsd-6b12a48066480adf979331e245b67f5da0434614.tar.xz wireguard-openbsd-6b12a48066480adf979331e245b67f5da0434614.zip |
include <limits.h> for LONG_MIN/LONG_MAX.
Also remove <sys/filio.h> added from previous commit.
This was the wrong way to get FIONBIO.
ok jsing@
-rw-r--r-- | lib/libcrypto/bio/b_sock.c | 4 | ||||
-rw-r--r-- | lib/libssl/src/crypto/bio/b_sock.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/libcrypto/bio/b_sock.c b/lib/libcrypto/bio/b_sock.c index cd57643b941..8e86383cc6f 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.49 2014/07/09 15:19:52 bcook Exp $ */ +/* $OpenBSD: b_sock.c,v 1.50 2014/07/09 23:46:14 bcook Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -56,7 +56,6 @@ * [including the GNU Public Licence.] */ -#include <sys/filio.h> #include <sys/ioctl.h> #include <sys/socket.h> @@ -65,6 +64,7 @@ #include <netinet/tcp.h> #include <errno.h> +#include <limits.h> #include <netdb.h> #include <stdio.h> #include <stdlib.h> diff --git a/lib/libssl/src/crypto/bio/b_sock.c b/lib/libssl/src/crypto/bio/b_sock.c index cd57643b941..8e86383cc6f 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.49 2014/07/09 15:19:52 bcook Exp $ */ +/* $OpenBSD: b_sock.c,v 1.50 2014/07/09 23:46:14 bcook Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -56,7 +56,6 @@ * [including the GNU Public Licence.] */ -#include <sys/filio.h> #include <sys/ioctl.h> #include <sys/socket.h> @@ -65,6 +64,7 @@ #include <netinet/tcp.h> #include <errno.h> +#include <limits.h> #include <netdb.h> #include <stdio.h> #include <stdlib.h> |