aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-08-26 14:26:22 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-08-26 14:26:42 +0100
commitdeba30f874f303e70be659107ec4f63d1d0ef747 (patch)
treec707136ed9a7c6415934e0830c84f13d931bc360 /CMakeLists.txt
parenta472769a452f50aa76cfd436b6919e300b55e8f1 (diff)
downloadrspamd-deba30f874f303e70be659107ec4f63d1d0ef747.tar.gz
rspamd-deba30f874f303e70be659107ec4f63d1d0ef747.zip
[Minor] Support ucontext on osx
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 d0438aabe..4c6d17c07 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -913,6 +913,7 @@ CHECK_INCLUDE_FILES(dirent.h HAVE_DIRENT_H)
CHECK_INCLUDE_FILES(stropts.h HAVE_STROPS_H)
CHECK_INCLUDE_FILES(sys/ioctl.h HAVE_SYS_IOCTL_H)
CHECK_INCLUDE_FILES(ucontext.h HAVE_UCONTEXT_H)
+CHECK_INCLUDE_FILES(sys/ucontext.h HAVE_SYS_UCONTEXT_H) # OSX specific
# Check platform API
CHECK_FUNCTION_EXISTS(setproctitle HAVE_SETPROCTITLE)