summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2012-07-26 16:43:36 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2012-07-26 16:43:36 +0400
commit2e615083e475c7390c667695b9e659fa5ba4da5f (patch)
tree2daf15c394a5e2c4fa9209ebed3c371419bfb522 /CMakeLists.txt
parent0d35a8f9cb4942e84d3e26ca4d010393a56e2904 (diff)
downloadrspamd-2e615083e475c7390c667695b9e659fa5ba4da5f.tar.gz
rspamd-2e615083e475c7390c667695b9e659fa5ba4da5f.zip
Fix build on FreeBSD 9.1 and Current. Thanks to Anton Yuzjaninov for testing.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2ffe3ae30..d01a66722 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -667,6 +667,7 @@ FIND_LIBRARY(LIBUTIL_LIBRARY NAMES util PATHS PATH_SUFFIXES lib64 lib
IF(LIBUTIL_LIBRARY)
LIST(APPEND CMAKE_REQUIRED_LIBRARIES util)
CHECK_FUNCTION_EXISTS(pidfile_open HAVE_PIDFILE)
+ CHECK_FUNCTION_EXISTS(pidfile_fileno HAVE_PIDFILE_FILENO)
FIND_FILE(HAVE_LIBUTIL_H NAMES libutil.h PATHS /usr/include
/opt/include