summaryrefslogtreecommitdiff
path: root/package/libs/openssl/patches/210-termios_fix.patch
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2014-02-24 21:09:03 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2014-02-24 21:09:03 +0000
commit22853559d65130488281f8b4273f9c8fe802dca1 (patch)
treec52ed54096d69c2fc60890f5f509d080a46468d6 /package/libs/openssl/patches/210-termios_fix.patch
parentc65fbfa4735cf8a39e1fb0fe78883ed9915aee89 (diff)
openssl: use termios instead of termio
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39748 3c298f89-4303-0410-b956-a3cf2f4a3e73
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