| b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame] | 1 | From 675e762091380590f78ff07a94a25caa459b786b Mon Sep 17 00:00:00 2001 |
| 2 | From: Cameron Norman <camerontnorman@gmail.com> |
| 3 | Date: Sat, 27 Oct 2018 13:05:45 -0700 |
| 4 | Subject: ulogd: fix build with musl libc |
| 5 | |
| 6 | The attached patch fixes building ulogd2 with musl libc. It is being |
| 7 | used on Void Linux right now. |
| 8 | |
| 9 | Closes: https://bugzilla.netfilter.org/show_bug.cgi?id=1278 |
| 10 | Signed-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 |