summaryrefslogtreecommitdiffstats
path: root/openbsd-compat/mktemp.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2006-03-15 04:42:54 +0100
committerDamien Miller <djm@mindrot.org>2006-03-15 04:42:54 +0100
commit6645e7a70d1b46b2cb408e1a13755c300a0d47c2 (patch)
tree66b325a70d0882aecce752334b06f87ca8612e0c /openbsd-compat/mktemp.c
parent - (djm) [openbsd-compat/sha2.h openbsd-compat/sha2.c] Comment out (diff)
downloadopenssh-6645e7a70d1b46b2cb408e1a13755c300a0d47c2.tar.xz
openssh-6645e7a70d1b46b2cb408e1a13755c300a0d47c2.zip
- (djm) [auth-pam.c clientloop.c includes.h monitor.c session.c]
[sftp-client.c ssh-keysign.c ssh.c sshconnect.c sshconnect2.c] [sshd.c openbsd-compat/bsd-misc.c openbsd-compat/bsd-openpty.c] [openbsd-compat/glob.c openbsd-compat/mktemp.c] [openbsd-compat/readpassphrase.c] Lots of include fixes for OpenSolaris
Diffstat (limited to 'openbsd-compat/mktemp.c')
-rw-r--r--openbsd-compat/mktemp.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/openbsd-compat/mktemp.c b/openbsd-compat/mktemp.c
index 88e04c520..53a50c512 100644
--- a/openbsd-compat/mktemp.c
+++ b/openbsd-compat/mktemp.c
@@ -35,6 +35,10 @@
#include "includes.h"
+#include <sys/types.h>
+#include <sys/stat.h>
+#include <ctype.h>
+
#if !defined(HAVE_MKDTEMP) || defined(HAVE_STRICT_MKSTEMP)
static int _gettemp(char *, int *, int, int);