From 650c66873793bed505802f316b15772a0f887743 Mon Sep 17 00:00:00 2001 From: "Randall S. Becker" Date: Fri, 26 Mar 2021 06:34:49 -0600 Subject: 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 Reviewed-by: Richard Levitte Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/14736) --- e_os.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'e_os.h') diff --git a/e_os.h b/e_os.h index 3e7a13f94d..a4290cfc65 100644 --- a/e_os.h +++ b/e_os.h @@ -297,7 +297,7 @@ struct servent *getservbyname(const char *name, const char *proto); /* ----------------------------- HP NonStop -------------------------------- */ /* Required to support platform variant without getpid() and pid_t. */ -# ifdef __TANDEM +# if defined(__TANDEM) && defined(_GUARDIAN_TARGET) # include # include # define getservbyname(name,proto) getservbyname((char*)name,proto) -- cgit v1.2.3