Mailing List Archive

[PATCH 9/9] config.c: add missing <sys/ttydefaults.h> include
This include is needed to get the definition of CEOT, otherwise the
build fails with:

config.c: In function ‘vpnc_getline’:
config.c:145:25: error: ‘CEOT’ undeclared (first use in this function)
if (llen == 0 && c == CEOT)
^

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
config.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/config.c b/config.c
index 11b363b..f47a534 100644
--- a/config.c
+++ b/config.c
@@ -31,6 +31,7 @@
#include <sys/types.h>
#include <sys/utsname.h>
#include <sys/wait.h>
+#include <sys/ttydefaults.h>

#include <gcrypt.h>

--
2.7.4

_______________________________________________
vpnc-devel mailing list
vpnc-devel@unix-ag.uni-kl.de
https://lists.unix-ag.uni-kl.de/mailman/listinfo/vpnc-devel
http://www.unix-ag.uni-kl.de/~massar/vpnc/