NetBSD declares forkpty(3) in <util.h>

This commit is contained in:
Kamil Rytarowski 2015-10-02 02:40:52 +02:00 committed by pancake
parent bb6acf10de
commit e3d0326331

View file

@ -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) {