summaryrefslogtreecommitdiff
path: root/package/l2tpns/patches/patch-cli_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-12-21 14:24:33 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2013-12-21 14:24:33 +0100
commit56f75860814b12a5a1d4b2bb69938e69e81258e0 (patch)
tree9e167f783b944b9dfbc13e906c33cc32d46d3d3b /package/l2tpns/patches/patch-cli_c
parentbf74f495c3da7b24ff1c580f0653f1664ea5fd32 (diff)
fix musl compile
Diffstat (limited to 'package/l2tpns/patches/patch-cli_c')
-rw-r--r--package/l2tpns/patches/patch-cli_c10
1 files changed, 10 insertions, 0 deletions
diff --git a/package/l2tpns/patches/patch-cli_c b/package/l2tpns/patches/patch-cli_c
new file mode 100644
index 000000000..c98c5cfea
--- /dev/null
+++ b/package/l2tpns/patches/patch-cli_c
@@ -0,0 +1,10 @@
+--- l2tpns-2.1.21.orig/cli.c 2005-12-06 10:43:42.000000000 +0100
++++ l2tpns-2.1.21/cli.c 2013-12-21 14:10:49.000000000 +0100
+@@ -4,6 +4,7 @@
+ char const *cvs_name = "$Name: release_2_1_21 $";
+ char const *cvs_id_cli = "$Id: cli.c,v 1.71 2005/12/06 09:43:42 bodea Exp $";
+
++#include <bits/fcntl.h>
+ #include <stdio.h>
+ #include <stddef.h>
+ #include <stdarg.h>