
benh at kernel
Jan 10, 2006, 7:17 PM
Post #1 of 2
(293 views)
Permalink
|
|
[PATCH] Fix wireless build
|
|
Current wireless core doesn't link here with a link error on compare_ether_addr. The function exists, but is defined inline and the wireless code forgets to #include the file containing the definition. Signed-off-by: Benjamin Herrenschmidt <benh[at]kernel.crashing.org> Index: linux-work/net/core/wireless.c =================================================================== --- linux-work.orig/net/core/wireless.c 2006-01-11 12:56:30.000000000 +1100 +++ linux-work/net/core/wireless.c 2006-01-11 14:14:27.000000000 +1100 @@ -78,7 +78,7 @@ #include <linux/seq_file.h> #include <linux/init.h> /* for __init */ #include <linux/if_arp.h> /* ARPHRD_ETHER */ - +#include <linux/etherdevice.h> #include <linux/wireless.h> /* Pretty obvious */ #include <net/iw_handler.h> /* New driver API */ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo[at]vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|