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

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

 



On Mon, Oct 29, 2018 at 05:52:51PM -0700, Cameron Norman wrote:
> Yes, we can do that.

Would you send me a patch? Please, add your Signed-off-by: tag.

Or I can just mangle this patch here if you prefer this.

Thanks.

> On Mon, Oct 29, 2018 at 2:11 PM Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx> 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
> >



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

  Powered by Linux