diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2013-07-16 17:39:55 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2013-07-16 17:39:55 +0200 |
commit | dc19220c1393a35b7ede2780ab44c0b5bb67a3d3 (patch) | |
tree | 80d4b4f3e5285fc7b69da70e734797ffac8c7224 /package/l2tpns | |
parent | 72a0355090b69b76ad81d3c8834ea615aa8d4cca (diff) |
fix l2tpns compile
Diffstat (limited to 'package/l2tpns')
-rw-r--r-- | package/l2tpns/patches/patch-l2tpns_c | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/package/l2tpns/patches/patch-l2tpns_c b/package/l2tpns/patches/patch-l2tpns_c index 3aa12107d..f25172a8c 100644 --- a/package/l2tpns/patches/patch-l2tpns_c +++ b/package/l2tpns/patches/patch-l2tpns_c @@ -1,6 +1,22 @@ $Id: update-patches 24 2008-08-31 14:56:13Z wbx $ --- l2tpns-2.1.21.orig/l2tpns.c 2006-06-22 17:30:50.000000000 +0200 -+++ l2tpns-2.1.21/l2tpns.c 2009-05-29 17:53:32.393095004 +0200 ++++ l2tpns-2.1.21/l2tpns.c 2013-07-16 17:39:13.000000000 +0200 +@@ -10,6 +10,7 @@ char const *cvs_id_l2tpns = "$Id: l2tpns + #include <assert.h> + #include <errno.h> + #include <fcntl.h> ++#include <stdio.h> + #include <linux/if_tun.h> + #define SYSLOG_NAMES + #include <syslog.h> +@@ -22,7 +23,6 @@ char const *cvs_id_l2tpns = "$Id: l2tpns + #include <netinet/ip6.h> + #include <stdarg.h> + #include <stdlib.h> +-#include <stdio.h> + #include <string.h> + #include <ctype.h> + #include <sys/ioctl.h> @@ -4233,31 +4233,6 @@ int main(int argc, char *argv[]) chdir("/tmp"); } |