From 7d26276f802e7b0b5f92964e2d4ab9f332efb244 Mon Sep 17 00:00:00 2001 From: steve Date: Sat, 11 Feb 2012 23:41:19 +0000 Subject: PR: 2717 Submitted by: Tim Rice Make compilation work on OpenServer 5.0.7 --- crypto/ui/ui_openssl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crypto') diff --git a/crypto/ui/ui_openssl.c b/crypto/ui/ui_openssl.c index fd9c4a816..a38c7581e 100644 --- a/crypto/ui/ui_openssl.c +++ b/crypto/ui/ui_openssl.c @@ -126,11 +126,11 @@ #include #endif -#if !defined(OPENSSL_SYSNAME_VXWORKS) +#if !defined(_POSIX_C_SOURCE) && defined(OPENSSL_SYS_VMS) #ifndef _POSIX_C_SOURCE #define _POSIX_C_SOURCE 2 #endif -#endif /* !OPENSSL_SYSNAME_VXWORKS */ +#endif #include #include #include -- cgit v1.2.1