summaryrefslogtreecommitdiffstats
path: root/crypto/conf
diff options
context:
space:
mode:
authorRandall S. Becker <rsbecker@nexbridge.com>2021-03-26 06:34:49 -0600
committerTomas Mraz <tomas@openssl.org>2021-04-01 15:52:25 +0200
commit650c66873793bed505802f316b15772a0f887743 (patch)
treea865119999fd7a5942b4d1c53445908563c79a22 /crypto/conf
parent1f99b53fe57997b72f196d54769a2fc789c69a11 (diff)
Corrected missing definitions from NonStop SPT build.
This change includes swapping the PUT and SPT configuration, includes of sys/stat.h and sys/types.h in the correct scope to be picked up by SPT definitions. Fixes: #14698 Fixes: #14734 CLA: The author has the permission to grant the OpenSSL Team the right to use this change. Signed-off-by: Randall S. Becker <rsbecker@nexbridge.com> Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/14736)
Diffstat (limited to 'crypto/conf')
-rw-r--r--crypto/conf/conf_def.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/conf/conf_def.c b/crypto/conf/conf_def.c
index e840742544..bfb718753b 100644
--- a/crypto/conf/conf_def.c
+++ b/crypto/conf/conf_def.c
@@ -13,6 +13,8 @@
#include <string.h>
#ifdef __TANDEM
# include <strings.h> /* strcasecmp */
+# include <sys/types.h> /* needed for stat.h */
+# include <sys/stat.h> /* struct stat */
#endif
#include "internal/cryptlib.h"
#include "internal/o_dir.h"