]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Fix driver_bsd.c compile error
authorYi Zhu <Yi.Zhu@Atheros.com>
Thu, 9 Dec 2010 19:29:26 +0000 (11:29 -0800)
committerJouni Malinen <j@w1.fi>
Thu, 30 Dec 2010 14:12:32 +0000 (16:12 +0200)
I got an error for WPA_KEY_RSC_LEN is not defined when compiling the
driver_bsd.c on NetBSD 4.0. Below patch fixed it.

src/drivers/driver_bsd.c

index 7700a859209f7e61dae648bb1cd05d3db77ea13f..837a3181306a25ffcdfb5af87b0bef2400a04e78 100644 (file)
@@ -20,6 +20,7 @@
 #include "driver.h"
 #include "eloop.h"
 #include "common/ieee802_11_defs.h"
+#include "common/wpa_common.h"
 
 #include <net/if.h>
 #include <net/if_media.h>