diff options
Diffstat (limited to 'deps/openssl/openssl/crypto/ui/ui_openssl.c')
-rw-r--r-- | deps/openssl/openssl/crypto/ui/ui_openssl.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/deps/openssl/openssl/crypto/ui/ui_openssl.c b/deps/openssl/openssl/crypto/ui/ui_openssl.c index b05cbf348f..a38c7581e6 100644 --- a/deps/openssl/openssl/crypto/ui/ui_openssl.c +++ b/deps/openssl/openssl/crypto/ui/ui_openssl.c @@ -122,9 +122,15 @@ * sigaction and fileno included. -pedantic would be more appropriate for * the intended purposes, but we can't prevent users from adding -ansi. */ +#if defined(OPENSSL_SYSNAME_VXWORKS) +#include <sys/types.h> +#endif + +#if !defined(_POSIX_C_SOURCE) && defined(OPENSSL_SYS_VMS) #ifndef _POSIX_C_SOURCE #define _POSIX_C_SOURCE 2 #endif +#endif #include <signal.h> #include <stdio.h> #include <string.h> @@ -184,7 +190,7 @@ # undef SGTTY #endif -#if defined(linux) && !defined(TERMIO) && !defined(__ANDROID__) +#if defined(linux) && !defined(TERMIO) # undef TERMIOS # define TERMIO # undef SGTTY |