summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCameron Norman <camerontnorman@gmail.com>2018-10-27 13:05:45 -0700
committerPablo Neira Ayuso <pablo@netfilter.org>2018-11-01 00:26:51 +0100
commit675e762091380590f78ff07a94a25caa459b786b (patch)
tree62d30533b8ab31193a5fc1ff02229e440c14ce84
parent9d9ea2cd70a369a7f665a322e6c53631e01a2570 (diff)
ulogd: fix build with musl libc
The attached patch fixes building ulogd2 with musl libc. It is being used on Void Linux right now. Closes: https://bugzilla.netfilter.org/show_bug.cgi?id=1278 Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
-rw-r--r--src/ulogd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ulogd.c b/src/ulogd.c
index b8bc57c..9cd64e8 100644
--- a/src/ulogd.c
+++ b/src/ulogd.c
@@ -65,6 +65,7 @@
#include <sys/time.h>
#include <sys/stat.h>
#include <sched.h>
+#include <limits.h>
#include <ulogd/conffile.h>
#include <ulogd/ulogd.h>
#ifdef DEBUG