-/* $OpenBSD: sshpty.c,v 1.19 2006/03/25 13:17:03 djm Exp $ */
+/* $OpenBSD: sshpty.c,v 1.24 2006/07/17 01:31:10 stevesk Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
#include <sys/stat.h>
#include <signal.h>
+#include <errno.h>
+#include <fcntl.h>
+#include <grp.h>
#ifdef HAVE_PATHS_H
# include <paths.h>
#endif
+#include <pwd.h>
#include <termios.h>
#ifdef HAVE_UTIL_H
# include <util.h>
#endif /* HAVE_UTIL_H */
+#include <unistd.h>
#include "sshpty.h"
#include "log.h"