iw: handle HAVE_LIBNL20 properly
A message that is not in the archive (sent off-list or not yet received): [email protected]
Sergey Senozhatsky
Quoted 3 lines · Németh Márton
Hi,
Hello,
Cc powertop(a)lists.01.org list
Quoted 3 lines
starting with the commit
b0d2854861de2f15671e633da11f42207d4357dfI get the following compile time error:
Well, that's strange, since commit itself doesn't change much....
how about the following one
-------8<---------8<----------
Re-organize iw header includes.
Reported-by Németh Márton <nm127(a)freemail.hu>
Signed-off-by Sergey Senozhatsky <sergey.senozhatsky(a)gmail.com>
---
src/tuning/iw.c | 1 + src/tuning/iw.h | 6 ------ 2 files changed, 1 insertion(+), 6 deletions(-)
src/tuning/iw.c +1 -0
@@ -39,6 +39,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.#include <unistd.h> #include <stdbool.h> +#include <linux/nl80211.h> #include <netlink/genl/genl.h> #include <netlink/genl/family.h> #include <netlink/genl/ctrl.h>
src/tuning/iw.h +0 -6
@@ -33,12 +33,6 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.*/ #include <stdbool.h> -#include <netlink/netlink.h> -#include <netlink/genl/genl.h> -#include <netlink/genl/family.h> -#include <netlink/genl/ctrl.h> - -#include <linux/nl80211.h> #define ETH_ALEN 6