aboutsummaryrefslogtreecommitdiffstats
path: root/main/openssl/openssl-use-termios.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/openssl/openssl-use-termios.patch')
-rw-r--r--main/openssl/openssl-use-termios.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/main/openssl/openssl-use-termios.patch b/main/openssl/openssl-use-termios.patch
new file mode 100644
index 0000000000..7fde174eb5
--- /dev/null
+++ b/main/openssl/openssl-use-termios.patch
@@ -0,0 +1,12 @@
+--- a/crypto/ui/ui_openssl.c Fri Sep 21 09:57:09 2012
++++ b/crypto/ui/ui_openssl.c Fri Sep 21 09:57:30 2012
+@@ -212,6 +212,9 @@
+ #undef SGTTY
+ #endif
+
++#define TERMIOS
++#undef TERMIO
++
+ #ifdef TERMIOS
+ # include <termios.h>
+ # define TTY_STRUCT struct termios