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

divert-include.gz

Reply via email to