--- sshpty.c.orig Wed Jun 26 01:21:42 2002 +++ sshpty.c Fri Jun 28 07:09:38 2002 @@ -30,6 +30,9 @@ #ifdef HAVE_PTY_H # include <pty.h> #endif +#ifdef __FreeBSD__ +#include <libutil.h> +#endif #if defined(HAVE_DEV_PTMX) && defined(HAVE_SYS_STROPTS_H) # include <sys/stropts.h> #endif
What is the failure if this header isn't added. I'd prefer to detect it in configure rather than use a platform-specific define
The Prototyes for openpty() and are missing if the header is not there. also realhostname_sa(); #ifdef HAVE_LIBUTIL_H sounds fine like in loginrec.c
added to includes.h
Mass change of RESOLVED bugs to CLOSED