summaryrefslogtreecommitdiffstats
path: root/lib/libcrypto/buffer/buffer.c
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2014-07-10 13:58:21 +0000
committerjsing <jsing@openbsd.org>2014-07-10 13:58:21 +0000
commita8913c44aee6c78b4770e56ab6afb429afabee6d (patch)
treebe5ee6c3a2ce8e54f4aa96de1461ebed5767e393 /lib/libcrypto/buffer/buffer.c
parentRemove empty sections and references to des_modes(7) which we don't have. (diff)
downloadwireguard-openbsd-a8913c44aee6c78b4770e56ab6afb429afabee6d.tar.xz
wireguard-openbsd-a8913c44aee6c78b4770e56ab6afb429afabee6d.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 'lib/libcrypto/buffer/buffer.c')
-rw-r--r--lib/libcrypto/buffer/buffer.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libcrypto/buffer/buffer.c b/lib/libcrypto/buffer/buffer.c
index 3373e324ae2..af32cbf50b0 100644
--- a/lib/libcrypto/buffer/buffer.c
+++ b/lib/libcrypto/buffer/buffer.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: buffer.c,v 1.19 2014/07/09 16:51:09 miod Exp $ */
+/* $OpenBSD: buffer.c,v 1.20 2014/07/10 13:58:22 jsing Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -57,6 +57,8 @@
*/
#include <stdio.h>
+#include <string.h>
+
#include "cryptlib.h"
#include <openssl/buffer.h>