It's needed there to get login_tty(). On normal FreeBSD we would
need libutil.h.
Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
getopt.h \
inttypes.h \
lastlog.h \
+ libutil.h \
linux/btrfs.h \
linux/cdrom.h \
linux/falloc.h \
sys/un.h \
unistd.h \
shadow.h \
+ utmp.h \
utmpx.h \
])
#endif
#if defined(__FreeBSD_kernel__)
-#include <pty.h>
+# include <pty.h>
+# ifdef HAVE_UTMPX_H
+# include <utmp.h>
+# endif
+# ifdef HAVE_LIBUTIL_H
+# include <libutil.h>
+# endif
#endif
#ifdef __linux__