FreeBSD has libutil.h not util.h

This commit is contained in:
Todd C. Miller
2011-09-21 09:52:33 -04:00
parent 441abee4e8
commit 4724e313e0
4 changed files with 10 additions and 5 deletions

View File

@@ -46,7 +46,9 @@
#include <grp.h>
#include <pwd.h>
#ifdef HAVE_UTIL_H
#if defined(HAVE_LIBUTIL_H)
# include <libutil.h>
#elif defined(HAVE_UTIL_H)
# include <util.h>
#endif
#ifdef HAVE_PTY_H