summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>1999-12-14 10:54:47 +1100
committerDamien Miller <djm@mindrot.org>1999-12-14 10:54:47 +1100
commit36b339a9064e1848728d82c0c75ca3e87c60b3ae (patch)
tree502e9193769dd92678ae16d6e07e3dcc39025d5f
parenta34a28bf86c04eb35c522b1e31c32e94edf355d2 (diff)
- Clean up broken includes in pty.c
-rw-r--r--ChangeLog1
-rw-r--r--Makefile.in2
-rw-r--r--pty.c11
3 files changed, 7 insertions, 7 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 f7ef19ca..06b43bb8 100644
--- a/pty.c
+++ b/pty.c
@@ -14,16 +14,15 @@
*/
#include "includes.h"
-RCSID("$Id: pty.c,v 1.9 1999/12/13 23:47:16 damien Exp $");
+RCSID("$Id: pty.c,v 1.10 1999/12/13 23:54:47 damien Exp $");
+
+#ifdef HAVE_UTIL_H
+# include <util.h>
+#endif /* HAVE_UTIL_H */
-#include <util.h>
#include "pty.h"
#include "ssh.h"
-#ifdef HAVE_DEV_PTMX
-#include <sys/stropts.h>
-#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