aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2005-06-19 16:22:14 (GMT)
committerJouni Malinen <j@w1.fi>2005-06-19 16:22:14 (GMT)
commitc41180142de653ada3e1d871e9febb7e77549d3b (patch)
treed89ecea24ea46099a7eee4e142eb33b6d9a1caee
parente27f2c4e41dcae84f4312557e5d7e149810077bc (diff)
downloadhostap-history-c41180142de653ada3e1d871e9febb7e77549d3b.zip
hostap-history-c41180142de653ada3e1d871e9febb7e77549d3b.tar.gz
hostap-history-c41180142de653ada3e1d871e9febb7e77549d3b.tar.bz2
Include netinet/in.h in order to get struct in6_addr definition on
FreeBSD. This fixes builds with CONFIG_IPV6=y.
-rw-r--r--hostapd/ieee802_11.c1
-rw-r--r--hostapd/ieee802_11_auth.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/hostapd/ieee802_11.c b/hostapd/ieee802_11.c
index 3d1922e..22901fc 100644
--- a/hostapd/ieee802_11.c
+++ b/hostapd/ieee802_11.c
@@ -18,6 +18,7 @@
#include <string.h>
#include <sys/socket.h>
#include <net/if.h>
+#include <netinet/in.h>
#include <arpa/inet.h>
#include <time.h>
diff --git a/hostapd/ieee802_11_auth.c b/hostapd/ieee802_11_auth.c
index 69b620c..2800c3f 100644
--- a/hostapd/ieee802_11_auth.c
+++ b/hostapd/ieee802_11_auth.c
@@ -17,6 +17,7 @@
#include <stdio.h>
#include <string.h>
#include <time.h>
+#include <netinet/in.h>
#include <arpa/inet.h>
#include <sys/types.h>
#include <sys/socket.h>