summaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorsteve <steve>2012-02-11 23:41:19 +0000
committersteve <steve>2012-02-11 23:41:19 +0000
commit7d26276f802e7b0b5f92964e2d4ab9f332efb244 (patch)
tree68fbdd4ad9edd86e9bd1fe391f2fab62dfe2295d /crypto
parent7f671716fc233936849d64189bc4e1551d0d92f6 (diff)
downloadopenssl-7d26276f802e7b0b5f92964e2d4ab9f332efb244.tar.gz
PR: 2717
Submitted by: Tim Rice <tim@multitalents.net> Make compilation work on OpenServer 5.0.7
Diffstat (limited to 'crypto')
-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 fd9c4a816..a38c7581e 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>