lkml.org 
[lkml]   [2000]   [Oct]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH-2.2.18] compile fix for netdevice.h
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[unhandled content-type:application/x-unknown]
\
 
 \ /
  Last update: 2005-03-22 13:08    [W:0.039 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site