summaryrefslogtreecommitdiff
path: root/src/print_wireless_info.c
diff options
context:
space:
mode:
authorIngo Bürk <admin@airblader.de>2018-07-16 16:13:47 +0200
committerGitHub <noreply@github.com>2018-07-16 16:13:47 +0200
commit0b25052cd0457736d45962d7f0ad057bbb648081 (patch)
treecfcb99192c1d8ff151382a3f8645b358e1444f89 /src/print_wireless_info.c
parent1174bfa7dad3c830b415679b8c704e6d6e82f64b (diff)
parentafd7e44d9713916a1f10507ba1ea1da927c4ce8e (diff)
Merge pull request #299 from tuxillo/patch-2
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>