Fixes for GNU/kFreeBSD from James Clarke.

pull/1556/head
Nicholas Marriott 2018-11-21 08:50:22 +00:00
parent efd01f3bfd
commit c4b04b1624
2 changed files with 5 additions and 0 deletions

View File

@ -478,6 +478,9 @@ if test "x$found_forkpty" = xyes; then
fi
AM_CONDITIONAL(NEED_FORKPTY, test "x$found_forkpty" = xno)
# Look for kinfo_getfile in libutil.
AC_SEARCH_LIBS(kinfo_getfile, [util util-freebsd])
# Look for a suitable queue.h.
AC_CHECK_DECL(
TAILQ_CONCAT,

View File

@ -31,6 +31,8 @@
#include <unistd.h>
#include <libutil.h>
#include "compat.h"
struct kinfo_proc *cmp_procs(struct kinfo_proc *, struct kinfo_proc *);
char *osdep_get_name(int, char *);
char *osdep_get_cwd(int);