]> rtime.felk.cvut.cz Git - coffee/buildroot.git/blob - package/vpnc/0009-config.c-add-missing-sys-ttydefaults.h-include.patch
lrzsz: install symlinks for XMODEM and YMODEM
[coffee/buildroot.git] / package / vpnc / 0009-config.c-add-missing-sys-ttydefaults.h-include.patch
1 From 17277915af703a4767de791916621d8f59aef516 Mon Sep 17 00:00:00 2001
2 From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
3 Date: Wed, 10 Feb 2016 23:21:26 +0100
4 Subject: [PATCH] config.c: add missing <sys/ttydefaults.h> include
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8
9 This include is needed to get the definition of CEOT, otherwise the
10 build fails with:
11
12 config.c: In function ‘vpnc_getline’:
13 config.c:145:25: error: ‘CEOT’ undeclared (first use in this function)
14    if (llen == 0 && c == CEOT)
15                          ^
16
17 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
18 ---
19  config.c | 1 +
20  1 file changed, 1 insertion(+)
21
22 diff --git a/config.c b/config.c
23 index 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 -- 
35 2.6.4
36