diff options
author | jsing <> | 2014-07-10 13:58:23 +0000 |
---|---|---|
committer | jsing <> | 2014-07-10 13:58:23 +0000 |
commit | c917c683bc93c68fbf4310ac181f7906e76b3c94 (patch) | |
tree | 520bd0eaa8855b175013ab92f4175f47f1099115 /src/lib/libcrypto/bio/bss_conn.c | |
parent | 4813174951b534ca1bff04557cea82aa2dfc8c6d (diff) | |
download | openbsd-c917c683bc93c68fbf4310ac181f7906e76b3c94.tar.gz openbsd-c917c683bc93c68fbf4310ac181f7906e76b3c94.tar.bz2 openbsd-c917c683bc93c68fbf4310ac181f7906e76b3c94.zip |
Stop including standard headers via cryptlib.h - pull in the headers that
are needed in the source files that actually require them.
ok beck@ miod@
Diffstat (limited to 'src/lib/libcrypto/bio/bss_conn.c')
-rw-r--r-- | src/lib/libcrypto/bio/bss_conn.c | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/src/lib/libcrypto/bio/bss_conn.c b/src/lib/libcrypto/bio/bss_conn.c index 0d29e428c9..d5763a0ce3 100644 --- a/src/lib/libcrypto/bio/bss_conn.c +++ b/src/lib/libcrypto/bio/bss_conn.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bss_conn.c,v 1.27 2014/06/12 15:49:28 deraadt Exp $ */ | 1 | /* $OpenBSD: bss_conn.c,v 1.28 2014/07/10 13:58:22 jsing Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -56,15 +56,18 @@ | |||
56 | * [including the GNU Public Licence.] | 56 | * [including the GNU Public Licence.] |
57 | */ | 57 | */ |
58 | 58 | ||
59 | #include <stdio.h> | 59 | #include <sys/socket.h> |
60 | |||
61 | #include <netinet/in.h> | ||
62 | |||
60 | #include <errno.h> | 63 | #include <errno.h> |
64 | #include <netdb.h> | ||
65 | #include <stdio.h> | ||
66 | #include <string.h> | ||
61 | #include <unistd.h> | 67 | #include <unistd.h> |
68 | |||
62 | #include "cryptlib.h" | 69 | #include "cryptlib.h" |
63 | #include <openssl/bio.h> | 70 | #include <openssl/bio.h> |
64 | #include <netdb.h> | ||
65 | #include <sys/socket.h> | ||
66 | #include <netinet/in.h> | ||
67 | |||
68 | 71 | ||
69 | #define SOCKET_PROTOCOL IPPROTO_TCP | 72 | #define SOCKET_PROTOCOL IPPROTO_TCP |
70 | 73 | ||