On Thu, Oct 15, 2015 at 01:39:25PM +0900, Ken-ichirou MATSUZAWA wrote: > diff --git a/utils/nf-log.c b/utils/nf-log.c > index 5f2a192..006d4b0 100644 > --- a/utils/nf-log.c > +++ b/utils/nf-log.c > @@ -3,15 +3,109 @@ > #include <stdlib.h> > #include <arpa/inet.h> > > -#include <linux/netfilter/nfnetlink_log.h> > +#include <libnetfilter_log/linux_nfnetlink_log.h> > > #include <libmnl/libmnl.h> > #include <libnetfilter_log/libnetfilter_log.h> > > +#include "../config.h" I think you can update configure.ac to update CFLAGS, like this: CFLAGS="$CFLAGS -DBUILD_NFCT" so we can skip this include. I think it would be good if people can take the examples out of the tree and compile them by hand through, eg. gcc -lnetfilter_log -lnetfilter_conntrack -lmnl -DBUILD_NFCT nf-log.c -o nf-log Thanks. -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html