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