Add OpenSSL termios fix for musl libc

This commit is contained in:
Nathan Marley committed 2019-09-20 14:47:06 -03:00
1 parent f8b0b190aa
commit 568aa0cf83
2 files changed
+19

No files matched your search

@@ -0,0 +1,17 @@
diff --git a/crypto/ui/ui_openssl.c b/crypto/ui/ui_openssl.c
index a38c758..d99edc2 100644
--- a/crypto/ui/ui_openssl.c
+++ b/crypto/ui/ui_openssl.c
@@ -190,9 +190,9 @@
# undef SGTTY
#endif
-#if defined(linux) && !defined(TERMIO)
-# undef TERMIOS
-# define TERMIO
+#if defined(linux)
+# define TERMIOS
+# undef TERMIO
# undef SGTTY
#endif