From e0cd571a328c9d218240e8fc40a49f8efffcbc33 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 9 Jul 2018 10:45:43 +0100 Subject: [Fix] Fix build where ucontext is defined in ucontext.h --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'CMakeLists.txt') 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) -- cgit v1.2.3