Messages in this thread | | | Date | Mon, 15 Jan 2007 09:31:22 +0100 | From | Patrick McHardy <> | Subject | Re: [PATCH 2.6.20-rc5] netfilter: xt_state compile failure |
| |
Mikael Pettersson wrote: > include/net/netfilter/nf_conntrack_compat.h: In function 'nf_ct_l3proto_try_module_get': > include/net/netfilter/nf_conntrack_compat.h:70: error: 'PF_INET' undeclared (first use in this function) > include/net/netfilter/nf_conntrack_compat.h:70: error: (Each undeclared identifier is reported only once > include/net/netfilter/nf_conntrack_compat.h:70: error: for each function it appears in.) > include/net/netfilter/nf_conntrack_compat.h:71: warning: control reaches end of non-void function > make[2]: *** [net/netfilter/xt_state.o] Error 1 > make[1]: *** [net/netfilter] Error 2 > make: *** [net] Error 2 > > A simple fix is to have nf_conntrack_compat.h #include <linux/socket.h>. > > Signed-off-by: Mikael Pettersson <mikpe@it.uu.se>
Applied, thanks Mikael. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |