Both hostapd/wpa_supplicant compilation fails on DragonFly BSD. This patch solves this issue. I have tested only compilation. Not functionality. Because I don't have any device which can work on DragonFly BSD.