summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--includes/TaskMan.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 861b60f..5b2fc9a 100644
--- a/Makefile
+++ b/Makefile
@@ -9,7 +9,7 @@ LDFLAGS += -g3 -gdwarf-2
endif
INCLUDES = includes libcoro libev LuaJIT/src lcrypt libtommath libtomcrypt/src/headers src/jsoncpp/include
-LIBS = z curl
+LIBS = z curl cares
DEFINES = _LARGEFILE64_SOURCE LITTLE_ENDIAN LTM_DESC LTC_SOURCE USE_LTM
ifeq ($(SYSTEM),Darwin)
diff --git a/includes/TaskMan.h b/includes/TaskMan.h
index 16944a7..acfa2c9 100644
--- a/includes/TaskMan.h
+++ b/includes/TaskMan.h
@@ -4,6 +4,7 @@
#include <curl/curl.h>
#ifndef _WIN32
#include <coro.h>
+#include <netdb.h>
#endif
#include <ev++.h>
#ifdef _MSC_VER