python-dataproperty: bump version to 0.17.0
[buildroot-gz.git] / package / vpnc / 0009-config.c-add-missing-sys-ttydefaults.h-include.patch
blobbce552e55e764791c9accf93f2fda1a2dc9491b0
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
9 This include is needed to get the definition of CEOT, otherwise the
10 build fails with:
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)
17 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
18 ---
19 config.c | 1 +
20 1 file changed, 1 insertion(+)
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>
32 #include <gcrypt.h>
34 --
35 2.6.4