summaryrefslogtreecommitdiffstats
path: root/crypto/ui
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2012-02-12 18:25:11 +0000
committerDr. Stephen Henson <steve@openssl.org>2012-02-12 18:25:11 +0000
commit276eb93218153cf044f61966c43f03010a4de8c2 (patch)
tree7429c89c50b04ce9b2005445a5c90272abcc697e /crypto/ui
parent29c33e16acf9addb54321d89394eb72bdae2a2d4 (diff)
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/ui/ui_openssl.c b/crypto/ui/ui_openssl.c
index 1bc25f48d5..5832a73cf5 100644
--- a/crypto/ui/ui_openssl.c
+++ b/crypto/ui/ui_openssl.c
@@ -122,7 +122,7 @@
* sigaction and fileno included. -pedantic would be more appropriate for
* the intended purposes, but we can't prevent users from adding -ansi.
*/
-#ifndef _POSIX_C_SOURCE
+#if !defined(_POSIX_C_SOURCE) && defined(OPENSSL_SYS_VMS)
#define _POSIX_C_SOURCE 2
#endif
#include <signal.h>