Merge de7c57fd2f
into 17f90de677
This commit is contained in:
commit
6e0e0d74f4
3 changed files with 4 additions and 2 deletions
|
@ -189,7 +189,7 @@ if (WITH_HTTPD)
|
||||||
find_package(MHD)
|
find_package(MHD)
|
||||||
|
|
||||||
if (MHD_FOUND)
|
if (MHD_FOUND)
|
||||||
include_directories(${MHD_INCLUDE_DIRS})
|
include_directories(${MHD_INCLUDE_DIR})
|
||||||
set(HTTPD_SOURCES src/api/Httpd.h src/api/Httpd.cpp)
|
set(HTTPD_SOURCES src/api/Httpd.h src/api/Httpd.cpp)
|
||||||
else()
|
else()
|
||||||
message(FATAL_ERROR "microhttpd NOT found: use `-DWITH_HTTPD=OFF` to build without http deamon support")
|
message(FATAL_ERROR "microhttpd NOT found: use `-DWITH_HTTPD=OFF` to build without http deamon support")
|
||||||
|
|
|
@ -47,6 +47,7 @@
|
||||||
#include "rapidjson/error/en.h"
|
#include "rapidjson/error/en.h"
|
||||||
#include "rapidjson/filereadstream.h"
|
#include "rapidjson/filereadstream.h"
|
||||||
#include "version.h"
|
#include "version.h"
|
||||||
|
#include <fcntl.h>
|
||||||
|
|
||||||
|
|
||||||
#ifndef ARRAY_SIZE
|
#ifndef ARRAY_SIZE
|
||||||
|
|
|
@ -30,7 +30,8 @@
|
||||||
|
|
||||||
|
|
||||||
#include "log/FileLog.h"
|
#include "log/FileLog.h"
|
||||||
|
#include <uv.h>
|
||||||
|
#include <fcntl.h>
|
||||||
|
|
||||||
FileLog::FileLog(const char *fileName)
|
FileLog::FileLog(const char *fileName)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue