Yes, we can do that.
On Mon, Oct 29, 2018 at 2:11 PM Pablo Neira Ayuso <pa...@netfilter.org> wrote:
>
> 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
>

Reply via email to