summaryrefslogtreecommitdiffstats
path: root/crypto/openssh/openbsd-compat/bsd-openpty.c
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2006-09-30 13:29:51 +0000
committerdes <des@FreeBSD.org>2006-09-30 13:29:51 +0000
commitabd7c8704bf3508a2f8dde80d8b38367cbaedba5 (patch)
tree5f4e76b625899b97f62d7a76130ec7c96f667835 /crypto/openssh/openbsd-compat/bsd-openpty.c
parentbe4f7e296e928bb4ace464e3f32e5dfb8e49c7bd (diff)
parent2f35ce4773442329d7798ccfecd8db9dcdce89bf (diff)
downloadFreeBSD-src-abd7c8704bf3508a2f8dde80d8b38367cbaedba5.zip
FreeBSD-src-abd7c8704bf3508a2f8dde80d8b38367cbaedba5.tar.gz
This commit was generated by cvs2svn to compensate for changes in r162852,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'crypto/openssh/openbsd-compat/bsd-openpty.c')
-rw-r--r--crypto/openssh/openbsd-compat/bsd-openpty.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/crypto/openssh/openbsd-compat/bsd-openpty.c b/crypto/openssh/openbsd-compat/bsd-openpty.c
index 8eb62b7..9777eb5 100644
--- a/crypto/openssh/openbsd-compat/bsd-openpty.c
+++ b/crypto/openssh/openbsd-compat/bsd-openpty.c
@@ -35,6 +35,21 @@
#include "includes.h"
#if !defined(HAVE_OPENPTY)
+#include <sys/types.h>
+
+#include <stdlib.h>
+
+#ifdef HAVE_SYS_STAT_H
+# include <sys/stat.h>
+#endif
+#ifdef HAVE_SYS_IOCTL_H
+# include <sys/ioctl.h>
+#endif
+
+#ifdef HAVE_FCNTL_H
+# include <fcntl.h>
+#endif
+
#ifdef HAVE_UTIL_H
# include <util.h>
#endif /* HAVE_UTIL_H */
@@ -46,6 +61,10 @@
# include <sys/stropts.h>
#endif
+#include <signal.h>
+#include <string.h>
+#include <unistd.h>
+
#ifndef O_NOCTTY
#define O_NOCTTY 0
#endif
OpenPOWER on IntegriCloud