--- a/crypto/ui/ui_openssl.c	2013-09-08 11:00:10.130572803 +0200
+++ b/crypto/ui/ui_openssl.c	2013-09-08 11:29:35.806580447 +0200
@@ -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
 
