aboutsummaryrefslogtreecommitdiff
path: root/openssl/crypto/ui
diff options
context:
space:
mode:
Diffstat (limited to 'openssl/crypto/ui')
-rw-r--r--openssl/crypto/ui/ui_openssl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openssl/crypto/ui/ui_openssl.c b/openssl/crypto/ui/ui_openssl.c
index 1bc25f48d..5832a73cf 100644
--- a/openssl/crypto/ui/ui_openssl.c
+++ b/openssl/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>