You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
680 B

  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. The attached patch fixes building ulogd2 with musl libc. It is being
  6. used on Void Linux right now.
  7. Closes: https://bugzilla.netfilter.org/show_bug.cgi?id=1278
  8. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
  9. ---
  10. src/ulogd.c | 1 +
  11. 1 file changed, 1 insertion(+)
  12. --- a/src/ulogd.c
  13. +++ b/src/ulogd.c
  14. @@ -65,6 +65,7 @@
  15. #include <sys/time.h>
  16. #include <sys/stat.h>
  17. #include <sched.h>
  18. +#include <limits.h>
  19. #include <ulogd/conffile.h>
  20. #include <ulogd/ulogd.h>
  21. #ifdef DEBUG