X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=crypto%2Fui%2Fui_openssl.c;h=a38c7581e6a0ca10376d05fc9994f4c74a41128a;hb=244ed51a0dad5f52233b46be716defcfe7bc77ff;hp=1bc25f48d5e1dac06b29562355d801781b6f32f9;hpb=0e039aa7976eb2278339441125473d7219bee413;p=oweals%2Fopenssl.git diff --git a/crypto/ui/ui_openssl.c b/crypto/ui/ui_openssl.c index 1bc25f48d5..a38c7581e6 100644 --- a/crypto/ui/ui_openssl.c +++ b/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 +#endif + +#if !defined(_POSIX_C_SOURCE) && defined(OPENSSL_SYS_VMS) #ifndef _POSIX_C_SOURCE #define _POSIX_C_SOURCE 2 #endif +#endif #include #include #include