| diff -c -r a/crypto/ui/ui_openssl.c b/crypto/ui/ui_openssl.c | |
| *** a/crypto/ui/ui_openssl.c 2012-02-11 15:38:49.000000000 -0800 | |
| --- b/crypto/ui/ui_openssl.c 2013-02-23 18:54:56.395504635 -0800 | |
| *************** | |
| *** 114,122 **** | |
| * [including the GNU Public Licence.] | |
| */ | |
| - | |
| #include <openssl/e_os2.h> | |
| /* 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 | |
| --- 114,123 ---- | |
| * [including the GNU Public Licence.] | |
| */ | |
| #include <openssl/e_os2.h> | |
| + #ifndef OPENSSL_NO_TTY | |
| + | |
| /* 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 | |
| *************** | |
| *** 710,712 **** | |
| --- 711,715 ---- | |
| return(strlen(buf)); | |
| } | |
| #endif | |
| + | |
| + #endif // OPENSSL_NO_TTY | |