diff --git a/toxcore/TCP_client.c b/toxcore/TCP_client.c index b69b422e..4f3411f1 100644 --- a/toxcore/TCP_client.c +++ b/toxcore/TCP_client.c @@ -20,6 +20,9 @@ * */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif #include "TCP_client.h" diff --git a/toxcore/TCP_server.c b/toxcore/TCP_server.c index 410111f4..1c4ffdcb 100644 --- a/toxcore/TCP_server.c +++ b/toxcore/TCP_server.c @@ -20,6 +20,10 @@ * */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "TCP_server.h" #if !defined(_WIN32) && !defined(__WIN32__) && !defined (WIN32)