cc  -O -pipe  -I/usr/src/usr.sbin/802_11/hostapd -I/usr/src/usr.sbin/802_11/hostapd/../../../contrib/wpa_supplicant/src -I/usr/src/usr.sbin/802_11/hostapd/../../../contrib/wpa_supplicant/src/common -I/usr/src/usr.sbin/802_11/hostapd/../../../contrib/wpa_supplicant/src/crypto -I/usr/src/usr.sbin/802_11/hostapd/../../../contrib/wpa_supplicant/src/l2_packet -I/usr/src/usr.sbin/802_11/hostapd/../../../contrib/wpa_supplicant/src/utils -DCONFIG_CTRL_IFACE -DCONFIG_CTRL_IFACE_UNIX -DCONFIG_DRIVER_BSD  -DHOSTAPD  -DCONFIG_DRIVER_RADIUS_ACL  -DCONFIG_RSN_PREAUTH  -DCONFIG_PEERKEY  -DCONFIG_WPS  -DCONFIG_WPS2  -DCONFIG_WPS_UPNP  -DCONFIG_INTERWORKING  -DCONFIG_HS20 -DCONFIG_IPV6 -g  -DDPKCS12_FUNCS  -DEAP_SERVER  -DEAP_SERVER_GTC  -DEAP_SERVER_IDENTITY  -DEAP_SERVER_MD5  -DEAP_SERVER_MSCHAPV2  -DEAP_SERVER_PEAP  -DEAP_SERVER_TLS  -DEAP_SERVER_TTLS  -DEAP_TLS_FUNCS  -DEAP_SERVER_WSC  -DCONFIG_NO_DUMP_STATE -DCONFIG_SHA256 -DEAP_TLS_OPENSSL -I/usr/src/usr.sbin/802_11/hostapd -I/usr/src/usr.sbin/802_11/hostapd/../../../contrib/wpa_supplicant/src -I/usr/src/usr.sbin/802_11/hostapd/../../../contrib/wpa_supplicant/src/common -I/usr/src/usr.sbin/802_11/hostapd/../../../contrib/wpa_supplicant/src/crypto -I/usr/src/usr.sbin/802_11/hostapd/../../../contrib/wpa_supplicant/src/l2_packet -I/usr/src/usr.sbin/802_11/hostapd/../../../contrib/wpa_supplicant/src/utils -DCONFIG_CTRL_IFACE -DCONFIG_CTRL_IFACE_UNIX   -std=gnu99 -Wmissing-include-dirs -Wsystem-headers -Werror -c /usr/src/usr.sbin/802_11/hostapd/../../../contrib/hostapd/src/drivers/driver_bsd.c
In file included from /usr/include/netproto/802_11/ieee80211_ioctl.h:35:0,
                 from /usr/src/usr.sbin/802_11/hostapd/../../../contrib/hostapd/src/drivers/driver_bsd.c:31:
/usr/include/netproto/802_11/ieee80211.h:801:0: error: "WPA_OUI_TYPE" redefined [-Werror]
In file included from /usr/src/usr.sbin/802_11/hostapd/../../../contrib/hostapd/src/drivers/driver_bsd.c:18:0:
/usr/src/usr.sbin/802_11/hostapd/../../../contrib/wpa_supplicant/src/common/wpa_common.h:115:0: note: this is the location of the previous definition
cc1: all warnings being treated as errors
*** Error code 1

Stop.
make: stopped in /usr/src/usr.sbin/802_11/hostapd
