[PATCH-2.2.18] compile fix for netdevice.h

From: willy tarreau (wtarreau@yahoo.fr)
Date: Mon Oct 02 2000 - 07:03:38 EST


Hi Alan,

with the ethernet frame diverter in 2.2.18,
netdevice.h
breaks compilation of user space progs because of an
include of <net/divert.h>. The following one-liner
patch fixes it.

BTW, in the 2.2.18pre14 main Makefile, the "CC = "
statement should be replaced with "CC := ". On my box,
the kwhich script was called 124 times !

-- patch to netdevice.h --
diff -urN 18wt2-1/include/linux/netdevice.h
18wt2-1bis/include/linux/netdevice.h
--- 18wt2-1/include/linux/netdevice.h Mon Oct 2
13:41:24 2000
+++ 18wt2-1bis/include/linux/netdevice.h Mon
Oct 2 13:49:24 2000
@@ -30,7 +30,7 @@
 #include <linux/if.h>
 #include <linux/if_ether.h>
 #include <linux/if_packet.h>
-#include <net/divert.h>
+#include <linux/../net/divert.h>
 
 #include <asm/atomic.h>
 

___________________________________________________________
Do You Yahoo!? -- Pour dialoguer en direct avec vos amis,
Yahoo! Messenger : http://fr.messenger.yahoo.com


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



This archive was generated by hypermail 2b29 : Sat Oct 07 2000 - 21:00:09 EST