From 9d654ebc8c4824a46483e0d5cf37a3e0181fe552 Mon Sep 17 00:00:00 2001 From: rsc Date: Tue, 19 Jul 2005 11:43:12 +0000 Subject: openbsd --- src/libthread/threadimpl.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/libthread') diff --git a/src/libthread/threadimpl.h b/src/libthread/threadimpl.h index fff874d8..ad66ee5f 100644 --- a/src/libthread/threadimpl.h +++ b/src/libthread/threadimpl.h @@ -5,7 +5,7 @@ #include #include #include -#if !defined(_OpenBSD__) +#if !defined(__OpenBSD__) # include #endif #include @@ -28,7 +28,11 @@ extern void makecontext(ucontext_t*, void(*)(), int, ...); #endif #if defined(__OpenBSD__) -# include "power-ucontext.h" +# if defined __i386__ +# include "386-ucontext.h" +# else +# include "power-ucontext.h" +# endif extern pid_t rfork_thread(int, void*, int(*)(void*), void*); #endif -- cgit v1.2.3