diff --git a/crypto/ui/ui_openssl.c b/crypto/ui/ui_openssl.c index fad17024a..7c80f5feb 100644 --- a/crypto/ui/ui_openssl.c +++ b/crypto/ui/ui_openssl.c @@ -117,10 +117,14 @@ #include +/* need for #define _POSIX_C_SOURCE arises whenever you pass -ansi to gcc + * [maybe others?], because it masks interfaces not discussed in standard, + * sigaction and fileno included. -pedantic would be more appropriate for + * the intended purposes, but we can't prevent users from adding -ansi. + */ #define _POSIX_C_SOURCE 1 #include #include -#undef _POSIX_C_SOURCE #include #include