OpenBSD support.
This commit is contained in:
parent
cea10000c5
commit
52e6164443
7 changed files with 35 additions and 33 deletions
|
|
@ -638,7 +638,7 @@ extern void freenetconninfo(NetConnInfo*);
|
|||
#define DMWRITE 0x2 /* mode bit for write permission */
|
||||
#define DMEXEC 0x1 /* mode bit for execute permission */
|
||||
|
||||
#if defined(__FreeBSD__)
|
||||
#ifdef RFMEM /* FreeBSD, OpenBSD */
|
||||
#undef RFFDG
|
||||
#undef RFNOTEG
|
||||
#undef RFPROC
|
||||
|
|
@ -832,6 +832,10 @@ extern int post9pservice(int, char*);
|
|||
# endif
|
||||
#endif
|
||||
|
||||
#ifdef __OpenBSD__
|
||||
#define sched_yield() syscall(302) /* what is this? */
|
||||
#endif
|
||||
|
||||
/* command line */
|
||||
extern char *argv0;
|
||||
extern void __fixargv0(void);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue