summaryrefslogtreecommitdiffhomepage
path: root/libs/iwinfo/src/iwinfo.h
diff options
context:
space:
mode:
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 f15e38327f..cbb9b69a30 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