| Summary: | add missing includes and defines for FREEBSD | ||
|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | Dirk Meyer <dirk.meyer> |
| Component: | Build system | Assignee: | OpenSSH Bugzilla mailing list <openssh-bugs> |
| Status: | CLOSED FIXED | ||
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | -current | ||
| Hardware: | Other | ||
| OS: | FreeBSD | ||
|
Description
Dirk Meyer
2002-06-28 15:50:52 AEST
Why are these needed? time.h is already pulled in via includes.h
used for calls to:
int openpty __P((int *_amaster, int *_aslave, char *_name,
struct termios *_termp, struct winsize *_winp));
In openssh.3.5 this funtions have beenn moved to: sshpty.c
--- 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 HAVE_LIBUTIL_H
+#include <libutil.h>
+#endif
#if defined(HAVE_DEV_PTMX) && defined(HAVE_SYS_STROPTS_H)
# include <sys/stropts.h>
#endif
This should be fixes as part of bug 317 - libutil.h was added to includes.h if it is present. Mass change of RESOLVED bugs to CLOSED |