summaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
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>