diff options
author | Theo Buehler <tb@openbsd.org> | 2024-10-02 08:51:52 +0200 |
---|---|---|
committer | Theo Buehler <tb@openbsd.org> | 2024-10-02 08:51:52 +0200 |
commit | 582d50beeb036fc6376eaa3435ed698c8ec1b761 (patch) | |
tree | 6ee9b2d76b139d8d2395f6d92ab1ab9aa81db756 | |
parent | 92528bdef2c25ea8538fa769bf0df1de7b7899ff (diff) | |
parent | 59f21d486f3d493a0ae81b7c22569576cf4267ad (diff) | |
download | portable-582d50beeb036fc6376eaa3435ed698c8ec1b761.tar.gz portable-582d50beeb036fc6376eaa3435ed698c8ec1b761.tar.bz2 portable-582d50beeb036fc6376eaa3435ed698c8ec1b761.zip |
Land #1101 - fix syslog_r detection
-rw-r--r-- | CMakeLists.txt | 2 |
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) |
297 | endif() | 297 | endif() |
298 | 298 | ||
299 | check_symbol_exists(syslog_r "syslog.h stdarg.h" HAVE_SYSLOG_R) | 299 | check_symbol_exists(syslog_r "syslog.h" "stdarg.h" HAVE_SYSLOG_R) |
300 | if(HAVE_SYSLOG_R) | 300 | if(HAVE_SYSLOG_R) |
301 | add_definitions(-DHAVE_SYSLOG_R) | 301 | add_definitions(-DHAVE_SYSLOG_R) |
302 | endif() | 302 | endif() |