diff options
author | Richard Levitte <levitte@openssl.org> | 2024-03-30 12:52:50 +0100 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2024-04-04 18:15:10 +0200 |
commit | 1a4b029af51ba6128a37959796381ca5b8b7ac00 (patch) | |
tree | 4f45b7c073239d4cbfeade12dca5d0666baa6bc0 /crypto | |
parent | 86d2bbd7c1b6366024a5368f3ea3d4e7d9e8d48c (diff) |
Diverse small VMS build fixups
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24008)
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/asn1/a_time.c | 2 | ||||
-rw-r--r-- | crypto/conf/conf_lib.c | 2 | ||||
-rw-r--r-- | crypto/conf/conf_sap.c | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/crypto/asn1/a_time.c b/crypto/asn1/a_time.c index 96ee63d310..49548235ad 100644 --- a/crypto/asn1/a_time.c +++ b/crypto/asn1/a_time.c @@ -14,6 +14,8 @@ * generalTime GeneralizedTime } */ +#define _XOPEN_SOURCE /* To get a definition of timezone */ + #include <stdio.h> #include <time.h> #include "crypto/asn1.h" diff --git a/crypto/conf/conf_lib.c b/crypto/conf/conf_lib.c index 99e9f8c987..13e2723f80 100644 --- a/crypto/conf/conf_lib.c +++ b/crypto/conf/conf_lib.c @@ -7,6 +7,8 @@ * https://www.openssl.org/source/license.html */ +#define _XOPEN_SOURCE_EXTENDED /* To get a definition of strdup() */ + #include "internal/e_os.h" #include <stdio.h> #include <string.h> diff --git a/crypto/conf/conf_sap.c b/crypto/conf/conf_sap.c index 3019bcf31a..9c78f46581 100644 --- a/crypto/conf/conf_sap.c +++ b/crypto/conf/conf_sap.c @@ -7,6 +7,8 @@ * https://www.openssl.org/source/license.html */ +#define _XOPEN_SOURCE_EXTENDED /* To get a definition of strdup() */ + #include <stdio.h> #include <openssl/crypto.h> #include "internal/cryptlib.h" |