summaryrefslogtreecommitdiff
path: root/openbsd-compat/mktemp.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2006-07-12 22:40:50 +1000
committerDarren Tucker <dtucker@zip.com.au>2006-07-12 22:40:50 +1000
commit2c1a02a8d03069163d8cae21484f4e5656e904fe (patch)
tree0bb8f8b6358a2800a942aa69f2c2361aade88564 /openbsd-compat/mktemp.c
parentc931c433f60a515af4cd463815ad3f9cf75ba3d9 (diff)
- (dtucker) [loginrec.c openbsd-compat/xmmap.c openbsd-compat/bindresvport.c
openbsd-compat/glob.c openbsd-compat/mktemp.c openbsd-compat/port-tun.c openbsd-compat/readpassphrase.c openbsd-compat/strtonum.c] Include <errno.h>.
Diffstat (limited to 'openbsd-compat/mktemp.c')
-rw-r--r--openbsd-compat/mktemp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsd-compat/mktemp.c b/openbsd-compat/mktemp.c
index 75a339156..b8b0793a6 100644
--- a/openbsd-compat/mktemp.c
+++ b/openbsd-compat/mktemp.c
@@ -37,8 +37,10 @@
37 37
38#include <sys/types.h> 38#include <sys/types.h>
39#include <sys/stat.h> 39#include <sys/stat.h>
40
40#include <fcntl.h> 41#include <fcntl.h>
41#include <ctype.h> 42#include <ctype.h>
43#include <errno.h>
42 44
43#if !defined(HAVE_MKDTEMP) || defined(HAVE_STRICT_MKSTEMP) 45#if !defined(HAVE_MKDTEMP) || defined(HAVE_STRICT_MKSTEMP)
44 46