summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas "Pixel" Noble <pixel@nobis-crew.org>2014-08-08 02:44:36 +0200
committerNicolas "Pixel" Noble <pixel@nobis-crew.org>2014-08-08 02:44:36 +0200
commitf67877e10216326b2230cd827d15aab0802d826d (patch)
tree8088f6048a14337c6f76b1f6801aa0dc84454829
parent2f93a2e442c251d0d9de5e828a66acd40086e28d (diff)
Fixing Linux build.
-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