Fixed Linux build.

This commit is contained in:
XMRig
2019-03-31 23:21:51 +07:00
parent 76e47c864f
commit ce0a5ac20b
3 changed files with 7 additions and 9 deletions

View File

@@ -26,6 +26,11 @@
#include <uv.h>
#ifndef _WIN32
# include <unistd.h>
#endif
#include "3rdparty/http-parser/http_parser.h"
#include "api/Api.h"
#include "api/interfaces/IApiListener.h"

View File

@@ -27,17 +27,9 @@
#include <uv.h>
#include <thread>
#if _WIN32
# include "winsock2.h"
#else
# include "unistd.h"
#endif
#include "api/v1/ApiRouter.h"
#include "base/tools/Buffer.h"
//#include "common/api/HttpReply.h"
//#include "common/api/HttpRequest.h"
#include "common/crypto/keccak.h"
#include "common/Platform.h"
#include "core/config/Config.h"

View File

@@ -24,8 +24,9 @@
*/
#include <uv.h>
#include <sstream>
#include <string.h>
#include <uv.h>
#include "3rdparty/http-parser/http_parser.h"