Merge pull request #2247 from Begasus/haiku

Haiku build fixes
pull/2343/head
Roger Light 4 years ago committed by GitHub
commit e3158e2b09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -175,6 +175,8 @@ if (UNIX)
set (MOSQ_LIBS ${MOSQ_LIBS} m)
elseif (${CMAKE_SYSTEM_NAME} MATCHES "NetBSD")
set (MOSQ_LIBS ${MOSQ_LIBS} m)
elseif (${CMAKE_SYSTEM_NAME} MATCHES "Haiku")
set (MOSQ_LIBS ${MOSQ_LIBS} m network)
elseif(QNX)
set(MOSQ_LIBS ${MOSQ_LIBS} m socket)
else(APPLE)

@ -39,7 +39,9 @@ Contributors:
# include <ws2tcpip.h>
#endif
#if !defined(WIN32) && !defined(__CYGWIN__) && !defined(__QNX__)
#if defined(__HAIKU__)
# include <syslog.h>
#elif !defined(WIN32) && !defined(__CYGWIN__) && !defined(__QNX__)
# include <sys/syslog.h>
#endif

Loading…
Cancel
Save