patch-2.0.11 linux/include/linux/netdevice.h

Next file: linux/include/linux/pcwd.h
Previous file: linux/include/linux/mtio.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.10/linux/include/linux/netdevice.h linux/include/linux/netdevice.h
@@ -27,7 +27,6 @@
 #include <linux/config.h>
 #include <linux/if.h>
 #include <linux/if_ether.h>
-#include <linux/skbuff.h>
 
 /* for future expansion when we will have different priorities. */
 #define DEV_NUMBUFFS	3
@@ -52,6 +51,10 @@
 #define IS_INVBCAST	4		/* Wrong netmask bcast not for us (unused)*/
 #define IS_MULTICAST	5		/* Multicast IP address */
 
+#ifdef __KERNEL__
+
+#include <linux/skbuff.h>
+
 /*
  *	We tag multicasts with these structures.
  */
@@ -201,8 +204,6 @@
   struct packet_type	*next;
 };
 
-
-#ifdef __KERNEL__
 
 #include <linux/interrupt.h>
 #include <linux/notifier.h>

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov