summaryrefslogtreecommitdiff
path: root/lib/libcrypto/bio/bss_file.c
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2014-07-10 13:58:24 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2014-07-10 13:58:24 +0000
commit976eedf2eb3dba06d2b6a3a84881acedabf9e02f (patch)
tree56afff71b6b09fb7bbc0b85cbf602c9bc7dec3a6 /lib/libcrypto/bio/bss_file.c
parent87cb008b53ce21f21a02cae1854c063d2b74fb8e (diff)
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 'lib/libcrypto/bio/bss_file.c')
-rw-r--r--lib/libcrypto/bio/bss_file.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/libcrypto/bio/bss_file.c b/lib/libcrypto/bio/bss_file.c
index 70a85220e41..44345f3c70c 100644
--- a/lib/libcrypto/bio/bss_file.c
+++ b/lib/libcrypto/bio/bss_file.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bss_file.c,v 1.28 2014/06/12 15:49:28 deraadt Exp $ */
+/* $OpenBSD: bss_file.c,v 1.29 2014/07/10 13:58:22 jsing Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -83,13 +83,14 @@
#endif
#endif
-#include <stdio.h>
#include <errno.h>
+#include <stdio.h>
+#include <string.h>
+
#include "cryptlib.h"
#include <openssl/bio.h>
#include <openssl/err.h>
-
static int file_write(BIO *h, const char *buf, int num);
static int file_read(BIO *h, char *buf, int size);
static int file_puts(BIO *h, const char *str);