From 884bcb375d8c4e785260bd1d398642fec1398fd1 Mon Sep 17 00:00:00 2001 From: damien Date: Mon, 13 Dec 1999 23:54:47 +0000 Subject: [PATCH] - Clean up broken includes in pty.c --- ChangeLog | 1 + Makefile.in | 2 +- pty.c | 9 ++++----- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index 07966017..e22c22b1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -16,6 +16,7 @@ move checking of hostkey into own function. - [version.h] OpenSSH-1.2.1 + - Clean up broken includes in pty.c 19991211 - Fix compilation on systems with AFS. Reported by diff --git a/Makefile.in b/Makefile.in index f7286747..3c089144 100644 --- a/Makefile.in +++ b/Makefile.in @@ -26,7 +26,7 @@ GNOME_LIBS=`gnome-config --libs gnome gnomeui` OBJS= atomicio.o authfd.o authfile.o auth-krb4.o auth-passwd.o \ auth-rhosts.o auth-rh-rsa.o auth-rsa.o auth-skey.o bsd-daemon.o \ - bsd-login.o bsd-mktemp.o bsd-snprintf.o bsd-strlcat.o bsd-strlcpy.o + bsd-login.o bsd-mktemp.o bsd-snprintf.o bsd-strlcat.o bsd-strlcpy.o \ bufaux.o buffer.o canohost.o channels.o cipher.o clientloop.o \ compress.o crc32.o deattack.o helper.o helper.o hostfile.o \ log-client.o login.o log-server.o match.o md5crypt.o mpaux.o \ diff --git a/pty.c b/pty.c index fe31251c..c63c5a6d 100644 --- a/pty.c +++ b/pty.c @@ -16,14 +16,13 @@ #include "includes.h" RCSID("$Id$"); -#include +#ifdef HAVE_UTIL_H +# include +#endif /* HAVE_UTIL_H */ + #include "pty.h" #include "ssh.h" -#ifdef HAVE_DEV_PTMX -#include -#endif /* HAVE_DEV_PTMX */ - /* Pty allocated with _getpty gets broken if we do I_PUSH:es to it. */ #if defined(HAVE__GETPTY) || defined(HAVE_OPENPTY) #undef HAVE_DEV_PTMX -- 2.45.2