hostapd: fix build errors on supplicant-only builds
[openwrt.git] / package / network / services / hostapd / patches / 700-ubus_support.patch
index 92ca7b2..ad1a45b 100644 (file)
 +      const u8 *addr;
 +};
 +
++struct hostapd_iface;
++struct hostapd_data;
++
 +#ifdef UBUS_SUPPORT
 +
 +#include <libubox/avl.h>
 +#include <libubus.h>
 +
-+struct hostapd_iface;
-+struct hostapd_data;
-+
 +struct hostapd_ubus_iface {
 +      struct ubus_object obj;
 +};