summaryrefslogtreecommitdiff
path: root/system/openssl/0003-use-termios.patch
blob: 3312d1856754c8cd1b0a9933aba910bd43221edd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From 5caf1bdcdb56358c0ce38ef404fedbe323e66cb9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timo=20Ter=C3=A4s?= <timo.teras@iki.fi>
Date: Thu, 5 Feb 2015 08:40:32 +0200
Subject: [PATCH] use termios

---
 crypto/ui/ui_openssl.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/crypto/ui/ui_openssl.c b/crypto/ui/ui_openssl.c
index 8bda83c..a89b5f2 100644
--- a/crypto/ui/ui_openssl.c
+++ b/crypto/ui/ui_openssl.c
@@ -224,6 +224,9 @@
 # undef SGTTY
 #endif
 
+#define TERMIOS
+#undef TERMIO
+
 #ifdef TERMIOS
 # include <termios.h>
 # define TTY_STRUCT             struct termios
-- 
2.2.2