summaryrefslogtreecommitdiff
path: root/lib/libssl
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2015-10-30 15:45:58 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2015-10-30 15:45:58 +0000
commitfa1b48fe96a94f3f9330acf45cad7347b3f7ce23 (patch)
tree56c8536d9e7ec8a3ff776215d7ded644ad1eb43d /lib/libssl
parentabe53f1c5d46c8e372a2cb70acfef6847f23d0a5 (diff)
Pull in <sys/types.h> to get ssize_t or <stdint.h> to get uint32_t, instead of
relying upon previously included headers to do this, to enhance portability; from Pascal Cuoq, libressl github pull request #52
Diffstat (limited to 'lib/libssl')
-rw-r--r--lib/libssl/src/crypto/bio/bss_bio.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libssl/src/crypto/bio/bss_bio.c b/lib/libssl/src/crypto/bio/bss_bio.c
index 26ae962aeb2..b5f13eb35c7 100644
--- a/lib/libssl/src/crypto/bio/bss_bio.c
+++ b/lib/libssl/src/crypto/bio/bss_bio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bss_bio.c,v 1.20 2014/06/12 15:49:28 deraadt Exp $ */
+/* $OpenBSD: bss_bio.c,v 1.21 2015/10/30 15:45:57 miod Exp $ */
/* ====================================================================
* Copyright (c) 1998-2003 The OpenSSL Project. All rights reserved.
*
@@ -78,6 +78,7 @@
#include <limits.h>
#include <stdlib.h>
#include <string.h>
+#include <sys/types.h>
#include <openssl/bio.h>
#include <openssl/err.h>