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= ], diff --git a/cont.c b/cont.c index 4622f948ff..9b28ed1484 100644 --- a/cont.c +++ b/cont.c @@ -85,7 +85,6 @@ #ifndef _WIN32 #include #include -#include #endif #define RB_PAGE_SIZE (pagesize) #define RB_PAGE_MASK (~(RB_PAGE_SIZE - 1))