diff options
Diffstat (limited to 'toxcore/LAN_discovery.c')
-rw-r--r-- | toxcore/LAN_discovery.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/toxcore/LAN_discovery.c b/toxcore/LAN_discovery.c index 436b16fd..74f10c98 100644 --- a/toxcore/LAN_discovery.c +++ b/toxcore/LAN_discovery.c | |||
@@ -28,6 +28,13 @@ | |||
28 | #include "LAN_discovery.h" | 28 | #include "LAN_discovery.h" |
29 | #include "util.h" | 29 | #include "util.h" |
30 | 30 | ||
31 | /* Used for get_broadcast(). */ | ||
32 | #ifdef __linux | ||
33 | #include <sys/ioctl.h> | ||
34 | #include <arpa/inet.h> | ||
35 | #include <linux/netdevice.h> | ||
36 | #endif | ||
37 | |||
31 | #define MAX_INTERFACES 16 | 38 | #define MAX_INTERFACES 16 |
32 | 39 | ||
33 | 40 | ||