summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael Stapelberg <michael@stapelberg.de>2015-11-24 19:26:07 +0100
committerMichael Stapelberg <michael@stapelberg.de>2015-11-24 19:26:07 +0100
commit876c1cef8d182ae1898368b415cf67dede279036 (patch)
tree4946c20a6fb5327390cc41a722e6f26621052e69 /src
parent3e14e6e5f3a50f670024e4204f2c0cf15f05b199 (diff)
fix compilation on FreeBSD
fixes #83
Diffstat (limited to 'src')
-rw-r--r--src/first_network_device.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/first_network_device.c b/src/first_network_device.c
index 16f23e0..06d8b4a 100644
--- a/src/first_network_device.c
+++ b/src/first_network_device.c
@@ -1,4 +1,5 @@
// vim:ts=4:sw=4:expandtab
+#include <sys/socket.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <ifaddrs.h>