summaryrefslogtreecommitdiff
path: root/toxcore/LAN_discovery.c
diff options
context:
space:
mode:
Diffstat (limited to 'toxcore/LAN_discovery.c')
-rw-r--r--toxcore/LAN_discovery.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/toxcore/LAN_discovery.c b/toxcore/LAN_discovery.c
index aeeea566..1137fc3d 100644
--- a/toxcore/LAN_discovery.c
+++ b/toxcore/LAN_discovery.c
@@ -119,7 +119,7 @@ static void fetch_broadcast_info(uint16_t port)
119 } 119 }
120} 120}
121 121
122#elif defined(__linux__) || defined(__FreeBSD__) 122#elif defined(__linux__) || defined(__FreeBSD__) || defined(__DragonFly__)
123 123
124#include <netinet/in.h> 124#include <netinet/in.h>
125#include <sys/ioctl.h> 125#include <sys/ioctl.h>
@@ -131,7 +131,7 @@ static void fetch_broadcast_info(uint16_t port)
131#include <linux/netdevice.h> 131#include <linux/netdevice.h>
132#endif 132#endif
133 133
134#ifdef __FreeBSD__ 134#if defined(__FreeBSD__) || defined(__DragonFly__)
135#include <net/if.h> 135#include <net/if.h>
136#endif 136#endif
137 137