summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/bio/bss_acpt.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_acpt.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_acpt.c')
-rw-r--r--src/lib/libcrypto/bio/bss_acpt.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/lib/libcrypto/bio/bss_acpt.c b/src/lib/libcrypto/bio/bss_acpt.c
index 2011aefc54..580c52da6c 100644
--- a/src/lib/libcrypto/bio/bss_acpt.c
+++ b/src/lib/libcrypto/bio/bss_acpt.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: bss_acpt.c,v 1.21 2014/06/12 15:49:28 deraadt Exp $ */ 1/* $OpenBSD: bss_acpt.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,13 +56,15 @@
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>
65
62#include "cryptlib.h" 66#include "cryptlib.h"
63#include <openssl/bio.h> 67#include <openssl/bio.h>
64#include <sys/socket.h>
65
66 68
67#define SOCKET_PROTOCOL IPPROTO_TCP 69#define SOCKET_PROTOCOL IPPROTO_TCP
68 70