diff options
Diffstat (limited to 'protocols/Tox/libtox/src/toxcore/LAN_discovery.c')
-rw-r--r-- | protocols/Tox/libtox/src/toxcore/LAN_discovery.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Tox/libtox/src/toxcore/LAN_discovery.c b/protocols/Tox/libtox/src/toxcore/LAN_discovery.c index aeeea5661a..1137fc3d2f 100644 --- a/protocols/Tox/libtox/src/toxcore/LAN_discovery.c +++ b/protocols/Tox/libtox/src/toxcore/LAN_discovery.c @@ -119,7 +119,7 @@ static void fetch_broadcast_info(uint16_t port) } } -#elif defined(__linux__) || defined(__FreeBSD__) +#elif defined(__linux__) || defined(__FreeBSD__) || defined(__DragonFly__) #include <netinet/in.h> #include <sys/ioctl.h> @@ -131,7 +131,7 @@ static void fetch_broadcast_info(uint16_t port) #include <linux/netdevice.h> #endif -#ifdef __FreeBSD__ +#if defined(__FreeBSD__) || defined(__DragonFly__) #include <net/if.h> #endif |