summaryrefslogtreecommitdiff
path: root/src/print_wireless_info.c
diff options
context:
space:
mode:
authorAntonio Huete Jimenez <tuxillo@quantumachine.net>2018-07-15 20:55:01 +0000
committerAntonio Huete Jimenez <tuxillo@quantumachine.net>2018-07-15 21:59:18 +0000
commitafd7e44d9713916a1f10507ba1ea1da927c4ce8e (patch)
treef4156e8c8ceadb1bc2ce7062ad99bf86b093ac47 /src/print_wireless_info.c
parentfc9da67e65819cb14071db4fd5b7941ab01a1134 (diff)
Detect interface type on DragonFly BSD
Diffstat (limited to 'src/print_wireless_info.c')
-rw-r--r--src/print_wireless_info.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/print_wireless_info.c b/src/print_wireless_info.c
index d495b47..1d87c79 100644
--- a/src/print_wireless_info.c
+++ b/src/print_wireless_info.c
@@ -38,6 +38,7 @@
#include <sys/ioctl.h>
#include <sys/socket.h>
#include <ifaddrs.h>
+#include <stdlib.h>
#include <net/if.h>
#include <net/if_media.h>
#include <netproto/802_11/ieee80211.h>