summaryrefslogtreecommitdiff
path: root/package/libs/openssl/patches/210-termios_fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/libs/openssl/patches/210-termios_fix.patch')
-rw-r--r--package/libs/openssl/patches/210-termios_fix.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/libs/openssl/patches/210-termios_fix.patch b/package/libs/openssl/patches/210-termios_fix.patch
new file mode 100644
index 0000000000..f14960ca33
--- /dev/null
+++ b/package/libs/openssl/patches/210-termios_fix.patch
@@ -0,0 +1,11 @@
+--- a/crypto/ui/ui_openssl.c
++++ b/crypto/ui/ui_openssl.c
+@@ -190,7 +190,7 @@
+ # undef SGTTY
+ #endif
+
+-#if defined(linux) && !defined(TERMIO)
++#if defined(linux) && !defined(TERMIO) && !defined(TERMIOS)
+ # undef TERMIOS
+ # define TERMIO
+ # undef SGTTY