Skip to content

Commit

Permalink
Merge pull request #2247 from Begasus/haiku
Browse files Browse the repository at this point in the history
Haiku build fixes
  • Loading branch information
ralight committed Jul 9, 2021
2 parents 30b54ba + 0f49a9f commit e3158e2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 3 additions & 1 deletion src/conf_includedir.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ SPDX-License-Identifier: EPL-2.0 OR BSD-3-Clause
# 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

Expand Down

0 comments on commit e3158e2

Please sign in to comment.