diff options
author | Roy Marples <roy@marples.name> | 2008-01-09 23:22:04 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2008-01-09 23:22:04 +0000 |
commit | ddf25cbcb76bccbfe28d15f1e73c637becaa54e7 (patch) | |
tree | 6ade72713da143021e78a361c534d143b267707a /src/rc/runscript.c | |
parent | 06634f6309f07613cd6a086a6b383daad65192c0 (diff) |
Compile without warnings on NetBSD
Diffstat (limited to 'src/rc/runscript.c')
-rw-r--r-- | src/rc/runscript.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rc/runscript.c b/src/rc/runscript.c index 0e750c54..c688da43 100644 --- a/src/rc/runscript.c +++ b/src/rc/runscript.c @@ -49,6 +49,8 @@ #ifdef __linux__ # include <pty.h> +#elif defined(__NetBSD__) || defined(__OpenBSD__) +# include <util.h> #else # include <libutil.h> #endif |