diff options
author | miod <> | 2015-10-30 15:45:57 +0000 |
---|---|---|
committer | miod <> | 2015-10-30 15:45:57 +0000 |
commit | 857a26cd73249023ce1882995ef8e654cd48f0e9 (patch) | |
tree | 84a9b3b6e525872d6da1bb745e197b557604917e /src/lib | |
parent | 7ae41bf6bae5fce9138ee2a54bc12996051b19fd (diff) | |
download | openbsd-857a26cd73249023ce1882995ef8e654cd48f0e9.tar.gz openbsd-857a26cd73249023ce1882995ef8e654cd48f0e9.tar.bz2 openbsd-857a26cd73249023ce1882995ef8e654cd48f0e9.zip |
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 'src/lib')
-rw-r--r-- | src/lib/libcrypto/bio/bss_bio.c | 3 | ||||
-rw-r--r-- | src/lib/libssl/src/crypto/bio/bss_bio.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/libcrypto/bio/bss_bio.c b/src/lib/libcrypto/bio/bss_bio.c index 26ae962aeb..b5f13eb35c 100644 --- a/src/lib/libcrypto/bio/bss_bio.c +++ b/src/lib/libcrypto/bio/bss_bio.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bss_bio.c,v 1.20 2014/06/12 15:49:28 deraadt Exp $ */ | 1 | /* $OpenBSD: bss_bio.c,v 1.21 2015/10/30 15:45:57 miod Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright (c) 1998-2003 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 1998-2003 The OpenSSL Project. All rights reserved. |
4 | * | 4 | * |
@@ -78,6 +78,7 @@ | |||
78 | #include <limits.h> | 78 | #include <limits.h> |
79 | #include <stdlib.h> | 79 | #include <stdlib.h> |
80 | #include <string.h> | 80 | #include <string.h> |
81 | #include <sys/types.h> | ||
81 | 82 | ||
82 | #include <openssl/bio.h> | 83 | #include <openssl/bio.h> |
83 | #include <openssl/err.h> | 84 | #include <openssl/err.h> |
diff --git a/src/lib/libssl/src/crypto/bio/bss_bio.c b/src/lib/libssl/src/crypto/bio/bss_bio.c index 26ae962aeb..b5f13eb35c 100644 --- a/src/lib/libssl/src/crypto/bio/bss_bio.c +++ b/src/lib/libssl/src/crypto/bio/bss_bio.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bss_bio.c,v 1.20 2014/06/12 15:49:28 deraadt Exp $ */ | 1 | /* $OpenBSD: bss_bio.c,v 1.21 2015/10/30 15:45:57 miod Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright (c) 1998-2003 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 1998-2003 The OpenSSL Project. All rights reserved. |
4 | * | 4 | * |
@@ -78,6 +78,7 @@ | |||
78 | #include <limits.h> | 78 | #include <limits.h> |
79 | #include <stdlib.h> | 79 | #include <stdlib.h> |
80 | #include <string.h> | 80 | #include <string.h> |
81 | #include <sys/types.h> | ||
81 | 82 | ||
82 | #include <openssl/bio.h> | 83 | #include <openssl/bio.h> |
83 | #include <openssl/err.h> | 84 | #include <openssl/err.h> |