corrected fix to PR#2711 and also cover mime_param_cmp
[oweals/openssl.git] / crypto / ui / ui_openssl.c
index 1bc25f48d5e1dac06b29562355d801781b6f32f9..5832a73cf59ab979744642b530c2531242746f43 100644 (file)
  * 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>