blob: afbc64cf47d9f1559de7d2373568d3090e7c31a9 [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001From 675e762091380590f78ff07a94a25caa459b786b Mon Sep 17 00:00:00 2001
2From: Cameron Norman <camerontnorman@gmail.com>
3Date: Sat, 27 Oct 2018 13:05:45 -0700
4Subject: ulogd: fix build with musl libc
5
6The attached patch fixes building ulogd2 with musl libc. It is being
7used on Void Linux right now.
8
9Closes: https://bugzilla.netfilter.org/show_bug.cgi?id=1278
10Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11---
12 src/ulogd.c | 1 +
13 1 file changed, 1 insertion(+)
14
15--- a/src/ulogd.c
16+++ b/src/ulogd.c
17@@ -65,6 +65,7 @@
18 #include <sys/time.h>
19 #include <sys/stat.h>
20 #include <sched.h>
21+#include <limits.h>
22 #include <ulogd/conffile.h>
23 #include <ulogd/ulogd.h>
24 #ifdef DEBUG