1From 17277915af703a4767de791916621d8f59aef516 Mon Sep 17 00:00:00 2001 2From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 3Date: Wed, 10 Feb 2016 23:21:26 +0100 4Subject: [PATCH] config.c: add missing <sys/ttydefaults.h> include 5MIME-Version: 1.0 6Content-Type: text/plain; charset=UTF-8 7Content-Transfer-Encoding: 8bit 8 9This include is needed to get the definition of CEOT, otherwise the 10build fails with: 11 12config.c: In function ‘vpnc_getline’: 13config.c:145:25: error: ‘CEOT’ undeclared (first use in this function) 14 if (llen == 0 && c == CEOT) 15 ^ 16 17Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 18--- 19 config.c | 1 + 20 1 file changed, 1 insertion(+) 21 22diff --git a/config.c b/config.c 23index 11b363b..f47a534 100644 24--- a/config.c 25+++ b/config.c 26@@ -31,6 +31,7 @@ 27 #include <sys/types.h> 28 #include <sys/utsname.h> 29 #include <sys/wait.h> 30+#include <sys/ttydefaults.h> 31 32 #include <gcrypt.h> 33 34-- 352.6.4 36 37