Re: [PATCH] ulogd2: fix build with musl libc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Sat, Oct 27, 2018 at 01:05:45PM -0700, Cameron Norman wrote:
> The attached patch fixes building ulogd2 with musl libc. It is being
> used on Void Linux right now.
> 
> https://bugzilla.netfilter.org/show_bug.cgi?id=1278
> 
> Thanks,
> --
> Cameron Nemo

> diff --git a/src/ulogd.c b/src/ulogd.c
> index b8bc57c..eb119f9 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 <linux/limits.h>

musl has limits.h, couldn't we just do

#include <limits.h>

instead?

>  #include <ulogd/conffile.h>
>  #include <ulogd/ulogd.h>
>  #ifdef DEBUG




[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux