From 8602b0f21325ed32642c90b6ecbef0721e34083c Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Wed, 29 Sep 2010 21:52:51 -0700 Subject: [PATCH] nl80211: Include linux/rtnetlink.h explicitly This is needed with libnl-tiny to get various definitions that get included implicitly with libnl. --- src/drivers/driver_nl80211.c | 1 + src/drivers/netlink.h | 1 + 2 files changed, 2 insertions(+) diff --git a/src/drivers/driver_nl80211.c b/src/drivers/driver_nl80211.c index b884acc..3f91be4 100644 --- a/src/drivers/driver_nl80211.c +++ b/src/drivers/driver_nl80211.c @@ -22,6 +22,7 @@ #include #include #include +#include #include #include #include "nl80211_copy.h" diff --git a/src/drivers/netlink.h b/src/drivers/netlink.h index bcbfbb5..ccf12a5 100644 --- a/src/drivers/netlink.h +++ b/src/drivers/netlink.h @@ -16,6 +16,7 @@ #define NETLINK_H struct netlink_data; +struct ifinfomsg; struct netlink_config { void *ctx; -- 2.1.4