diff options
-rw-r--r-- | configure.ac | 3 | ||||
-rw-r--r-- | cont.c | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index bba8f61b0e..27e7f86ab9 100644 --- a/configure.ac +++ b/configure.ac @@ -2281,6 +2281,9 @@ AS_CASE(["$rb_cv_fiber_coroutine"], [yes|''], [ [powerpc64le-linux], [ rb_cv_fiber_coroutine=ppc64le ], + [x86_64-openbsd*], [ + rb_cv_fiber_coroutine=amd64 + ], [*-openbsd*], [ rb_cv_fiber_coroutine= ], @@ -85,7 +85,6 @@ #ifndef _WIN32 #include <unistd.h> #include <sys/mman.h> -#include <ucontext.h> #endif #define RB_PAGE_SIZE (pagesize) #define RB_PAGE_MASK (~(RB_PAGE_SIZE - 1)) |