Re: [PATCH] netfilter: Move linux/in.h and linux/in6.h inclusionsoutside of #ifdef __KERNEL__

From: Patrick McHardy
Date: Fri Aug 01 2008 - 02:31:16 EST


Matt Kraai wrote:
From: Matt Kraai <kraai@xxxxxxxxx>

netfilter.h can't be used in userspace without including linux/in.h
and linux/in6.h first. netfilter.h includes its own linux/in.h and
linux/in6.h include statements, these are stripped by make
headers-install because they are inside #ifdef __KERNEL__ however.
Move them out to fix this.

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/