From: Mirko Vogt Date: Mon, 6 Aug 2012 11:08:13 +0000 (+0000) Subject: Fix knock build with the openwrt eglibc toolchain by including the limits.h from... X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=a5f3029174fe3059e040ba2a50d3cf9a0805925e;p=openwrt%2Fsvn-archive%2Farchive.git Fix knock build with the openwrt eglibc toolchain by including the limits.h from knockd.c. This will fix the error caused by undefined PATH_MAX variable. Signed-off-by: Mika Laitio SVN-Revision: 33009 --- diff --git a/net/knock/patches/010_eglibc_define_PATH_MAX.patch b/net/knock/patches/010_eglibc_define_PATH_MAX.patch new file mode 100644 index 0000000000..0e7f56ef82 --- /dev/null +++ b/net/knock/patches/010_eglibc_define_PATH_MAX.patch @@ -0,0 +1,11 @@ +diff -Naur knock-0.5/src/knockd.c knock-0.5-new/src/knockd.c +--- knock-0.5/src/knockd.c 2005-06-27 08:11:34.000000000 +0300 ++++ knock-0.5-new/src/knockd.c 2012-07-31 22:49:13.670323836 +0300 +@@ -46,6 +46,7 @@ + #include + #include + #include ++#include /* PATH_MAX in eglibc env */ + #include "list.h" + + static char version[] = "0.5";