aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/ui
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2012-02-11 23:41:19 +0000
committerDr. Stephen Henson <steve@openssl.org>2012-02-11 23:41:19 +0000
commitfc7dae5229a2738a57222eb5ce6fff0da47cfa29 (patch)
tree369005b016fcb10601abd7e296dfe0c87ff5e121 /crypto/ui
parentbe81f4dd81826119f5f540d9061469476a002f01 (diff)
downloadopenssl-fc7dae5229a2738a57222eb5ce6fff0da47cfa29.tar.gz
PR: 2717
Submitted by: Tim Rice <tim@multitalents.net> Make compilation work on OpenServer 5.0.7
Diffstat (limited to 'crypto/ui')
-rw-r--r--crypto/ui/ui_openssl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/ui/ui_openssl.c b/crypto/ui/ui_openssl.c
index fd9c4a8169..a38c7581e6 100644
--- a/crypto/ui/ui_openssl.c
+++ b/crypto/ui/ui_openssl.c
@@ -126,11 +126,11 @@
#include <sys/types.h>
#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 <signal.h>
#include <stdio.h>
#include <string.h>