Compile without warnings on NetBSD

This commit is contained in:
Roy Marples
2008-01-09 23:22:04 +00:00
parent 06634f6309
commit ddf25cbcb7
6 changed files with 35 additions and 15 deletions

View File

@ -49,6 +49,8 @@
#ifdef __linux__
# include <pty.h>
#elif defined(__NetBSD__) || defined(__OpenBSD__)
# include <util.h>
#else
# include <libutil.h>
#endif