From: Andrew Morton net/ieee80211/ieee80211_tx.c: In function `ieee80211_xmit': net/ieee80211/ieee80211_tx.c:341: warning: implicit declaration of function `is_broadcast_ether_addr' net/ieee80211/ieee80211_wx.c: In function `ieee80211_wx_set_encode': net/ieee80211/ieee80211_wx.c:284: warning: implicit declaration of function `ieee80211_crypt_delayed_deinit' net/ieee80211/ieee80211_wx.c:313: dereferencing pointer to incomplete type net/ieee80211/ieee80211_wx.c:314: dereferencing pointer to incomplete type net/ieee80211/ieee80211_wx.c:324: sizeof applied to an incomplete type net/ieee80211/ieee80211_wx.c:328: sizeof applied to an incomplete type net/ieee80211/ieee80211_wx.c:328: sizeof applied to an incomplete type net/ieee80211/ieee80211_wx.c:328: sizeof applied to an incomplete type net/ieee80211/ieee80211_wx.c:328: sizeof applied to an incomplete type net/ieee80211/ieee80211_wx.c:328: sizeof applied to an incomplete type net/ieee80211/ieee80211_wx.c:328: sizeof applied to an incomplete type net/ieee80211/ieee80211_wx.c:329: dereferencing pointer to incomplete type net/ieee80211/ieee80211_wx.c:329: warning: implicit declaration of function `ieee80211_get_crypto_ops' net/ieee80211/ieee80211_wx.c:330: dereferencing pointer to incomplete type net/ieee80211/ieee80211_wx.c:332: dereferencing pointer to incomplete type net/ieee80211/ieee80211_wx.c:335: dereferencing pointer to incomplete type net/ieee80211/ieee80211_wx.c:335: dereferencing pointer to incomplete type net/ieee80211/ieee80211_wx.c:336: dereferencing pointer to incomplete type net/ieee80211/ieee80211_wx.c:336: dereferencing pointer to incomplete type net/ieee80211/ieee80211_wx.c:338: dereferencing pointer to incomplete type net/ieee80211/ieee80211_wx.c:338: dereferencing pointer to incomplete type net/ieee80211/ieee80211_wx.c:361: dereferencing pointer to incomplete type net/ieee80211/ieee80211_wx.c:362: dereferencing pointer to incomplete type net/ieee80211/ieee80211_wx.c:369: dereferencing pointer to incomplete type net/ieee80211/ieee80211_wx.c:370: dereferencing pointer to incomplete type net/ieee80211/ieee80211_wx.c:376: dereferencing pointer to incomplete type net/ieee80211/ieee80211_wx.c:377: dereferencing pointer to incomplete type net/ieee80211/ieee80211_wx.c:259: warning: `len' might be used uninitialized in this function net/ieee80211/ieee80211_wx.c: In function `ieee80211_wx_get_encode': net/ieee80211/ieee80211_wx.c:442: dereferencing pointer to incomplete type net/ieee80211/ieee80211_wx.c:448: dereferencing pointer to incomplete type net/ieee80211/ieee80211_wx.c:456: dereferencing pointer to incomplete type net/ieee80211/ieee80211_wx.c:456: dereferencing pointer to incomplete type make[2]: *** [net/ieee80211/ieee80211_wx.o] Error 1 make[2]: *** Waiting for unfinished jobs.... net/ieee80211/ieee80211_rx.c: In function `ieee80211_rx_frame_decrypt': net/ieee80211/ieee80211_rx.c:281: dereferencing pointer to incomplete type net/ieee80211/ieee80211_rx.c:299: dereferencing pointer to incomplete type net/ieee80211/ieee80211_rx.c:300: dereferencing pointer to incomplete type net/ieee80211/ieee80211_rx.c:300: dereferencing pointer to incomplete type net/ieee80211/ieee80211_rx.c:301: dereferencing pointer to incomplete type net/ieee80211/ieee80211_rx.c: In function `ieee80211_rx_frame_decrypt_msdu': net/ieee80211/ieee80211_rx.c:326: dereferencing pointer to incomplete type net/ieee80211/ieee80211_rx.c:332: dereferencing pointer to incomplete type net/ieee80211/ieee80211_rx.c:333: dereferencing pointer to incomplete type net/ieee80211/ieee80211_rx.c:333: dereferencing pointer to incomplete type net/ieee80211/ieee80211_rx.c:334: dereferencing pointer to incomplete type net/ieee80211/ieee80211_rx.c: In function `ieee80211_rx': net/ieee80211/ieee80211_rx.c:439: dereferencing pointer to incomplete type net/ieee80211/ieee80211_rx.c:440: dereferencing pointer to incomplete type Cc: Jeff Garzik Signed-off-by: Andrew Morton --- net/ieee80211/ieee80211_rx.c | 1 + net/ieee80211/ieee80211_wx.c | 2 ++ 2 files changed, 3 insertions(+) diff -puN net/ieee80211/ieee80211_rx.c~ieee80211_rx-build-fix net/ieee80211/ieee80211_rx.c --- 25/net/ieee80211/ieee80211_rx.c~ieee80211_rx-build-fix 2005-06-29 00:41:48.000000000 -0700 +++ 25-akpm/net/ieee80211/ieee80211_rx.c 2005-06-29 00:42:01.000000000 -0700 @@ -36,6 +36,7 @@ #include #include +#include static inline void ieee80211_monitor_rx(struct ieee80211_device *ieee, struct sk_buff *skb, diff -puN net/ieee80211/ieee80211_wx.c~ieee80211_rx-build-fix net/ieee80211/ieee80211_wx.c --- 25/net/ieee80211/ieee80211_wx.c~ieee80211_rx-build-fix 2005-06-29 00:42:31.000000000 -0700 +++ 25-akpm/net/ieee80211/ieee80211_wx.c 2005-06-29 00:42:42.000000000 -0700 @@ -35,6 +35,8 @@ #include #include +#include + static const char *ieee80211_modes[] = { "?", "a", "b", "ab", "g", "ag", "bg", "abg" }; _