Re: include/linux/netfilter.h after make headers_install is incomplete

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Sam Ravnborg
Date: Wednesday, May 21, 2008 - 3:04 am

On Wed, May 21, 2008 at 11:56:55AM +0200, Patrick McHardy wrote:

Everything inside
#ifdef __KERNEL__
...
#endif

are stripped.

From netfilter.h:
#ifdef __KERNEL__
#include <linux/init.h>
#include <linux/types.h>
#include <linux/skbuff.h>
#include <linux/net.h>
#include <linux/netdevice.h>
#include <linux/if.h>
#include <linux/in.h>
#include <linux/in6.h>
#include <linux/wait.h>
#include <linux/list.h>
#include <net/net_namespace.h>
#endif

Include of types.h should be outside the #ifdef block.

	Sam
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: include/linux/netfilter.h after make headers_install i ..., Sam Ravnborg, (Wed May 21, 3:04 am)