summaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorRami Rosen <roszenrami@gmail.com>2008-11-19 09:37:43 +0200
committerJohn W. Linville <linville@tuxdriver.com>2008-11-21 11:42:55 -0500
commita1eb5fe319beb9e181aa52c8adf75ad9aab56a89 (patch)
tree779aa91d24bd658b0e0e801462c49826c94f1cc7 /include/net
parent3461fc12a423c09169c6bb350319808ca4ec4b86 (diff)
wireless: missing include in lib80211.h
This patch adds #include <linux/timer.h> in lib80211.h to avoid these compilation erros. > In file included from /work/src/wireless-testing/net/wireless/lib80211.c:24: > /work/src/wireless-testing/include/net/lib80211.h:113: error: field > 'crypt_deinit_timer' has incomplete type > /work/src/wireless-testing/net/wireless/lib80211.c: In function > 'lib80211_crypt_info_init': > /work/src/wireless-testing/net/wireless/lib80211.c:83: error: implicit > declaration of function 'setup_timer' > /work/src/wireless-testing/net/wireless/lib80211.c: In function > 'lib80211_crypt_info_free': > /work/src/wireless-testing/net/wireless/lib80211.c:95: error: implicit > declaration of function 'del_timer_sync' > /work/src/wireless-testing/net/wireless/lib80211.c: In function > 'lib80211_crypt_deinit_handler': > /work/src/wireless-testing/net/wireless/lib80211.c:157: error: > implicit declaration of function 'add_timer' > /work/src/wireless-testing/net/wireless/lib80211.c: In function > 'lib80211_crypt_delayed_deinit': > /work/src/wireless-testing/net/wireless/lib80211.c:182: error: > implicit declaration of function 'timer_pending' > make[3]: *** [net/wireless/lib80211.o] Error 1 > make[2]: *** [net/wireless] Error 2 > make[1]: *** [net] Error 2 > make: *** [sub-make] Error 2 Signed-off-by: Rami Rosen <ramirose@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/lib80211.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/lib80211.h b/include/net/lib80211.h
index a269b23d112..fb4e2784857 100644
--- a/include/net/lib80211.h
+++ b/include/net/lib80211.h
@@ -30,7 +30,7 @@
#include <linux/if.h>
#include <linux/skbuff.h>
#include <linux/ieee80211.h>
-
+#include <linux/timer.h>
/* print_ssid() is intended to be used in debug (and possibly error)
* messages. It should never be used for passing ssid to user space. */
const char *print_ssid(char *buf, const char *ssid, u8 ssid_len);