From: Bryan Everly Date: Fri, 11 Sep 2015 01:31:13 +0000 (-0400) Subject: Fixes for OpenBSD port X-Git-Tag: 2.0.0-beta1+android10~434^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cb533b2a0456b93cefc50b2abfa89ca805cdc7e1;p=platform%2Fupstream%2Ffreerdp.git Fixes for OpenBSD port --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 3856141..67c7261 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -381,6 +381,7 @@ endif(APPLE) # OpenBSD if(OPENBSD) + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -L/usr/local/lib") set(WITH_MANPAGES "ON") set(WITH_ALSA "OFF") set(WITH_PULSE "ON") diff --git a/channels/tsmf/client/oss/tsmf_oss.c b/channels/tsmf/client/oss/tsmf_oss.c index 45725ec..fe97851 100644 --- a/channels/tsmf/client/oss/tsmf_oss.c +++ b/channels/tsmf/client/oss/tsmf_oss.c @@ -34,7 +34,11 @@ #include #include #include -#include +#if defined(__OpenBSD__) + #include +#else + #include +#endif #include #include