diff options
author | 2014-08-24 16:07:29 +0000 | |
---|---|---|
committer | 2014-08-24 16:07:29 +0000 | |
commit | a088e0c57c608a3d67c8687c5d54b07f35048d34 (patch) | |
tree | 42ac62d88bd4d2b870e7469a4ccfd19f11f81e93 /lib | |
parent | Let SSL_CIPHER_description() allocate the buffer for the description, (diff) | |
download | wireguard-openbsd-a088e0c57c608a3d67c8687c5d54b07f35048d34.tar.xz wireguard-openbsd-a088e0c57c608a3d67c8687c5d54b07f35048d34.zip |
Include <sys/select.h> to get select
These files currently depends on the wrapper <stdlib.h> file indirectly
including a header that provides select().
from Jonas 'Sortie' Termansen
ok deraadt@ tedu@
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libssl/src/apps/ocsp.c | 4 | ||||
-rw-r--r-- | lib/libssl/src/apps/s_client.c | 3 | ||||
-rw-r--r-- | lib/libssl/src/apps/s_server.c | 3 | ||||
-rw-r--r-- | lib/libssl/src/apps/s_time.c | 3 |
4 files changed, 9 insertions, 4 deletions
diff --git a/lib/libssl/src/apps/ocsp.c b/lib/libssl/src/apps/ocsp.c index 9bb7da0d884..b28f160d9a3 100644 --- a/lib/libssl/src/apps/ocsp.c +++ b/lib/libssl/src/apps/ocsp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ocsp.c,v 1.30 2014/07/13 16:03:09 beck Exp $ */ +/* $OpenBSD: ocsp.c,v 1.31 2014/08/24 16:07:29 bcook Exp $ */ /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project 2000. */ @@ -57,6 +57,8 @@ */ #ifndef OPENSSL_NO_OCSP +#include <sys/select.h> + #include <stdio.h> #include <stdlib.h> #include <limits.h> diff --git a/lib/libssl/src/apps/s_client.c b/lib/libssl/src/apps/s_client.c index de1669794bc..9cc764660cb 100644 --- a/lib/libssl/src/apps/s_client.c +++ b/lib/libssl/src/apps/s_client.c @@ -1,4 +1,4 @@ -/* $OpenBSD: s_client.c,v 1.69 2014/07/14 00:35:10 deraadt Exp $ */ +/* $OpenBSD: s_client.c,v 1.70 2014/08/24 16:07:29 bcook Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -137,6 +137,7 @@ #include <sys/types.h> #include <sys/ioctl.h> +#include <sys/select.h> #include <sys/socket.h> #include <netinet/in.h> diff --git a/lib/libssl/src/apps/s_server.c b/lib/libssl/src/apps/s_server.c index 3deebcfc35a..c986ebcb3e9 100644 --- a/lib/libssl/src/apps/s_server.c +++ b/lib/libssl/src/apps/s_server.c @@ -1,4 +1,4 @@ -/* $OpenBSD: s_server.c,v 1.62 2014/07/25 06:05:32 doug Exp $ */ +/* $OpenBSD: s_server.c,v 1.63 2014/08/24 16:07:29 bcook Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -148,6 +148,7 @@ #include <sys/types.h> #include <sys/ioctl.h> +#include <sys/select.h> #include <sys/socket.h> #include <assert.h> diff --git a/lib/libssl/src/apps/s_time.c b/lib/libssl/src/apps/s_time.c index a150ff31531..ae1aa000197 100644 --- a/lib/libssl/src/apps/s_time.c +++ b/lib/libssl/src/apps/s_time.c @@ -1,4 +1,4 @@ -/* $OpenBSD: s_time.c,v 1.34 2014/07/14 00:35:10 deraadt Exp $ */ +/* $OpenBSD: s_time.c,v 1.35 2014/08/24 16:07:29 bcook Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -63,6 +63,7 @@ Written and donated by Larry Streepy <streepy@healthcare.com> -----------------------------------------*/ +#include <sys/select.h> #include <sys/socket.h> #include <stdio.h> |