summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/bio/bss_sock.c
diff options
context:
space:
mode:
authorjsing <>2014-07-10 13:58:23 +0000
committerjsing <>2014-07-10 13:58:23 +0000
commitc917c683bc93c68fbf4310ac181f7906e76b3c94 (patch)
tree520bd0eaa8855b175013ab92f4175f47f1099115 /src/lib/libcrypto/bio/bss_sock.c
parent4813174951b534ca1bff04557cea82aa2dfc8c6d (diff)
downloadopenbsd-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_sock.c')
-rw-r--r--src/lib/libcrypto/bio/bss_sock.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/lib/libcrypto/bio/bss_sock.c b/src/lib/libcrypto/bio/bss_sock.c
index 238f5dc2de..ced988f97a 100644
--- a/src/lib/libcrypto/bio/bss_sock.c
+++ b/src/lib/libcrypto/bio/bss_sock.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: bss_sock.c,v 1.21 2014/06/12 15:49:28 deraadt Exp $ */ 1/* $OpenBSD: bss_sock.c,v 1.22 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,12 +56,14 @@
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
60#include <errno.h> 61#include <errno.h>
62#include <stdio.h>
63#include <string.h>
61#include <unistd.h> 64#include <unistd.h>
62#include "cryptlib.h"
63#include <sys/socket.h>
64 65
66#include "cryptlib.h"
65 67
66#include <openssl/bio.h> 68#include <openssl/bio.h>
67 69