mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
openbsd
This commit is contained in:
parent
1041ea6f68
commit
9d654ebc8c
1 changed files with 6 additions and 2 deletions
|
@ -5,7 +5,7 @@
|
|||
#include <sys/wait.h>
|
||||
#include <sched.h>
|
||||
#include <signal.h>
|
||||
#if !defined(_OpenBSD__)
|
||||
#if !defined(__OpenBSD__)
|
||||
# include <ucontext.h>
|
||||
#endif
|
||||
#include <sys/utsname.h>
|
||||
|
@ -28,7 +28,11 @@ extern void makecontext(ucontext_t*, void(*)(), int, ...);
|
|||
#endif
|
||||
|
||||
#if defined(__OpenBSD__)
|
||||
# if defined __i386__
|
||||
# include "386-ucontext.h"
|
||||
# else
|
||||
# include "power-ucontext.h"
|
||||
# endif
|
||||
extern pid_t rfork_thread(int, void*, int(*)(void*), void*);
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue