aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Buehler <tb@openbsd.org>2024-10-02 08:51:52 +0200
committerTheo Buehler <tb@openbsd.org>2024-10-02 08:51:52 +0200
commit582d50beeb036fc6376eaa3435ed698c8ec1b761 (patch)
tree6ee9b2d76b139d8d2395f6d92ab1ab9aa81db756
parent92528bdef2c25ea8538fa769bf0df1de7b7899ff (diff)
parent59f21d486f3d493a0ae81b7c22569576cf4267ad (diff)
downloadportable-582d50beeb036fc6376eaa3435ed698c8ec1b761.tar.gz
portable-582d50beeb036fc6376eaa3435ed698c8ec1b761.tar.bz2
portable-582d50beeb036fc6376eaa3435ed698c8ec1b761.zip
Land #1101 - fix syslog_r detection
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 62caadc..d2c96f1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -296,7 +296,7 @@ if(HAVE_GETPROGNAME)
296 add_definitions(-DHAVE_GETPROGNAME) 296 add_definitions(-DHAVE_GETPROGNAME)
297endif() 297endif()
298 298
299check_symbol_exists(syslog_r "syslog.h stdarg.h" HAVE_SYSLOG_R) 299check_symbol_exists(syslog_r "syslog.h" "stdarg.h" HAVE_SYSLOG_R)
300if(HAVE_SYSLOG_R) 300if(HAVE_SYSLOG_R)
301 add_definitions(-DHAVE_SYSLOG_R) 301 add_definitions(-DHAVE_SYSLOG_R)
302endif() 302endif()