summaryrefslogtreecommitdiffhomepage
path: root/libs/iwinfo/src/iwinfo_lualib.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/iwinfo/src/iwinfo_lualib.h')
-rw-r--r--libs/iwinfo/src/iwinfo_lualib.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/libs/iwinfo/src/iwinfo_lualib.h b/libs/iwinfo/src/iwinfo_lualib.h
index bf7568a653..72697983ff 100644
--- a/libs/iwinfo/src/iwinfo_lualib.h
+++ b/libs/iwinfo/src/iwinfo_lualib.h
@@ -28,9 +28,16 @@
#define IWINFO_META "iwinfo"
+#define IWINFO_WEXT_META "iwinfo.wext"
+
+#ifdef USE_WL
#define IWINFO_WL_META "iwinfo.wl"
+#endif
+
+#ifdef USE_MADWIFI
#define IWINFO_MADWIFI_META "iwinfo.madwifi"
-#define IWINFO_WEXT_META "iwinfo.wext"
+#endif
+
#define LUA_REG(type,op) \
{ #op, iwinfo_L_##type##_##op }