packages/net/knock/patches/010_eglibc_define_PATH_MAX.patch

12 lines
371 B
Diff
Raw Normal View History

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 <syslog.h>
#include <pcap.h>
#include <errno.h>
+#include <limits.h> /* PATH_MAX in eglibc env */
#include "list.h"
static char version[] = "0.5";