| Index: openssl/crypto/ui/ui_openssl.c
|
| ===================================================================
|
| --- openssl/crypto/ui/ui_openssl.c (revision 105093)
|
| +++ openssl/crypto/ui/ui_openssl.c (working copy)
|
| @@ -123,9 +123,8 @@
|
| * the intended purposes, but we can't prevent users from adding -ansi.
|
| */
|
| #ifndef _POSIX_C_SOURCE
|
| -#define _POSIX_C_SOURCE 1
|
| +#define _POSIX_C_SOURCE 2
|
| #endif
|
| -
|
| #include <signal.h>
|
| #include <stdio.h>
|
| #include <string.h>
|
| @@ -185,7 +184,7 @@
|
| # undef SGTTY
|
| #endif
|
|
|
| -#if defined(linux) && !defined(TERMIO)
|
| +#if defined(linux) && !defined(TERMIO) && !defined(__ANDROID__)
|
| # undef TERMIOS
|
| # define TERMIO
|
| # undef SGTTY
|
| @@ -479,7 +478,7 @@
|
| CRYPTO_w_lock(CRYPTO_LOCK_UI);
|
| is_a_tty = 1;
|
|
|
| -#if defined(OPENSSL_SYS_MACINTOSH_CLASSIC) || defined(OPENSSL_SYS_VXWORKS) || defined(OPENSSL_SYS_NETWARE)
|
| +#if defined(OPENSSL_SYS_MACINTOSH_CLASSIC) || defined(OPENSSL_SYS_VXWORKS) || defined(OPENSSL_SYS_NETWARE) || defined(OPENSSL_SYS_BEOS)
|
| tty_in=stdin;
|
| tty_out=stderr;
|
| #else
|
|
|