]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - e_os.h
Corrected missing definitions from NonStop SPT build.
[thirdparty/openssl.git] / e_os.h
diff --git a/e_os.h b/e_os.h
index 3e7a13f94d1cc0076362c8279ea3b172b5480fe4..a4290cfc65b06d07b9599d5c71bf5125bc2718ff 100644 (file)
--- 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 <strings.h>
 #  include <netdb.h>
 #  define getservbyname(name,proto)          getservbyname((char*)name,proto)