diff --git a/toxcore/LAN_discovery.c b/toxcore/LAN_discovery.c index e685ae0e..fdb374fa 100644 --- a/toxcore/LAN_discovery.c +++ b/toxcore/LAN_discovery.c @@ -31,7 +31,6 @@ /* Used for get_broadcast(). */ #ifdef __linux -#include #include #include #endif diff --git a/toxcore/network.c b/toxcore/network.c index 62b36ae6..55cfa338 100644 --- a/toxcore/network.c +++ b/toxcore/network.c @@ -52,14 +52,11 @@ #if !(defined(_WIN32) || defined(__WIN32__) || defined(WIN32)) -#include #include #include #include -#include #include #include -#include #else diff --git a/toxcore/network.h b/toxcore/network.h index 4f27a81d..cc5cbae3 100644 --- a/toxcore/network.h +++ b/toxcore/network.h @@ -58,8 +58,10 @@ #include #include -#else // Linux includes +#else // UNIX includes +#include +#include #include #include #include