summaryrefslogtreecommitdiffhomepage
path: root/libs/iwinfo/src/iwinfo.h
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-11-15 15:53:35 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-11-15 15:53:35 +0000
commit2a68a29c5789d8c950d887d123d21de644c6a1c7 (patch)
tree8c633717ce5368f598f65403cc82ab2373b9110f /libs/iwinfo/src/iwinfo.h
parent89ece183ef93a16afcbbdf3dca5398d34c233aa6 (diff)
libs/iwinfo: conditionally compile wl.o or madwifi support, make it depend on $(CRAP)
Diffstat (limited to 'libs/iwinfo/src/iwinfo.h')
-rw-r--r--libs/iwinfo/src/iwinfo.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/libs/iwinfo/src/iwinfo.h b/libs/iwinfo/src/iwinfo.h
index f15e38327..cbb9b69a3 100644
--- a/libs/iwinfo/src/iwinfo.h
+++ b/libs/iwinfo/src/iwinfo.h
@@ -18,9 +18,15 @@
#include <net/if.h>
#include <errno.h>
+#include "iwinfo_wext.h"
+
+#ifdef USE_WL
#include "iwinfo_wl.h"
+#endif
+
+#ifdef USE_MADWIFI
#include "iwinfo_madwifi.h"
-#include "iwinfo_wext.h"
+#endif
#define IWINFO_BUFSIZE 24 * 1024