]> git.ipfire.org Git - thirdparty/ulogd2.git/commitdiff
ulogd: fix build with musl libc
authorCameron Norman <camerontnorman@gmail.com>
Sat, 27 Oct 2018 20:05:45 +0000 (13:05 -0700)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 31 Oct 2018 23:26:51 +0000 (00:26 +0100)
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>
src/ulogd.c

index b8bc57c80793ade55929966b345daa4baf72bf1e..9cd64e8e19b299f96e117a4beb40cda21d738625 100644 (file)
@@ -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