Re: netfilter 01/06: Move linux/in.h and linux/in6.h inclusions outside of

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

 



Jan Engelhardt wrote:
On Monday 2008-08-18 12:51, Patrick McHardy wrote:

netfilter: Move linux/in.h and linux/in6.h inclusions outside of #ifdef __KERNEL__

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.

Humm - no, I do not think this is right.


$ cat test2.c #include <netinet/in.h>

/* simulate netfilter.h as proposed */
#include <linux/in.h>

Hmm good point. Dave, please drop this patch.
--
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

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

  Powered by Linux