diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2015-10-30 15:45:58 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2015-10-30 15:45:58 +0000 |
commit | 88926ed46e5566b42936ae88a8c69cff8fbb0afd (patch) | |
tree | 7d3703abd74cff2fb4a1fc07373553af56b188b9 /lib/libcrypto/bio | |
parent | 6dce242dc82a8e9831156805eb23ad75313f9d0f (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/libcrypto/bio')
-rw-r--r-- | lib/libcrypto/bio/bss_bio.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libcrypto/bio/bss_bio.c b/lib/libcrypto/bio/bss_bio.c index 26ae962aeb2..b5f13eb35c7 100644 --- a/lib/libcrypto/bio/bss_bio.c +++ b/lib/libcrypto/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> |