NetBSD declares forkpty(3) in <util.h>
This commit is contained in:
parent
bb6acf10de
commit
e3d0326331
1 changed files with 3 additions and 1 deletions
|
|
@ -12,7 +12,6 @@
|
|||
#include <sys/stat.h>
|
||||
#if __APPLE__
|
||||
#include <spawn.h>
|
||||
#include <util.h>
|
||||
#include <sys/ptrace.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/wait.h>
|
||||
|
|
@ -39,6 +38,9 @@
|
|||
#include <sys/personality.h>
|
||||
#include <pty.h>
|
||||
#endif
|
||||
#if defined(__APPLE__) || defined(__NetBSD__) || defined(__OpenBSD__)
|
||||
#include <util.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
R_API RRunProfile *r_run_new(const char *str) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue