mirror of https://github.com/AxioDL/jbus.git
Fix compiling on linux
This commit is contained in:
parent
42f1b86627
commit
a3fe0a3a25
|
@ -3,6 +3,8 @@ project(jbus)
|
||||||
|
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
set(JBUS_PLAT_LIBS Ws2_32)
|
set(JBUS_PLAT_LIBS Ws2_32)
|
||||||
|
elseif(UNIX AND NOT APPLE)
|
||||||
|
set(JBUS_PLAT_LIBS pthread)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
include_directories(include)
|
include_directories(include)
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
#include "optional.hpp"
|
#include "optional.hpp"
|
||||||
#include <thread>
|
#include <thread>
|
||||||
#include <mutex>
|
#include <mutex>
|
||||||
|
#include <condition_variable>
|
||||||
|
|
||||||
namespace jbus
|
namespace jbus
|
||||||
{
|
{
|
||||||
|
|
|
@ -17,6 +17,7 @@
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
#include <memory.h>
|
||||||
|
|
||||||
#include "Common.hpp"
|
#include "Common.hpp"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue