summaryrefslogtreecommitdiffstats
path: root/crypto/ui
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2012-02-11 23:38:49 +0000
committerDr. Stephen Henson <steve@openssl.org>2012-02-11 23:38:49 +0000
commitc714e43c8df97bbd1855e47ffc72ed99c5d2bd9c (patch)
treeddccc6db0c334d1e7125b462b0822abda2335da9 /crypto/ui
parentcdf9d6f6ed992393e96d56cc5e9fa27ca329714e (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>