]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
nl80211: Include linux/rtnetlink.h explicitly
authorJouni Malinen <j@w1.fi>
Thu, 30 Sep 2010 04:52:51 +0000 (21:52 -0700)
committerJouni Malinen <j@w1.fi>
Thu, 30 Sep 2010 04:52:51 +0000 (21:52 -0700)
This is needed with libnl-tiny to get various definitions that
get included implicitly with libnl.

src/drivers/driver_nl80211.c
src/drivers/netlink.h

index b884acc11edb372f184c28e044db4f803d75f65e..3f91be44d8389c8a6ce73fc2ac76b2e20137c207 100644 (file)
@@ -22,6 +22,7 @@
 #include <netlink/genl/genl.h>
 #include <netlink/genl/family.h>
 #include <netlink/genl/ctrl.h>
+#include <linux/rtnetlink.h>
 #include <netpacket/packet.h>
 #include <linux/filter.h>
 #include "nl80211_copy.h"
index bcbfbb51fdd70f4c349398f3ecffa1c8ede9930f..ccf12a52dfe80f86e4e167e128b46b7ddb0d6a5c 100644 (file)
@@ -16,6 +16,7 @@
 #define NETLINK_H
 
 struct netlink_data;
+struct ifinfomsg;
 
 struct netlink_config {
        void *ctx;