aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-07-09 10:45:43 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-07-09 10:47:19 +0100
commite0cd571a328c9d218240e8fc40a49f8efffcbc33 (patch)
treee958d9ebe39c12618179dca440562161200d74bb /CMakeLists.txt
parent99071239e4c40770dfcfa9cc1264e83e2469fe6c (diff)
downloadrspamd-e0cd571a328c9d218240e8fc40a49f8efffcbc33.tar.gz
rspamd-e0cd571a328c9d218240e8fc40a49f8efffcbc33.zip
[Fix] Fix build where ucontext is defined in ucontext.h
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 c9d99df7f..049d77d30 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -906,6 +906,7 @@ CHECK_INCLUDE_FILES(cpuid.h HAVE_CPUID_H)
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 platform API
CHECK_FUNCTION_EXISTS(setproctitle HAVE_SETPROCTITLE)