Commit a3fe0a3a authored by Phillip Stephens's avatar Phillip Stephens

Fix compiling on linux

parent 42f1b866
......@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment