summaryrefslogtreecommitdiffstats
path: root/compat
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2009-05-12 20:26:03 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2009-05-12 20:26:03 (GMT)
commitb22f54f848812fa00c28429de1d615a35ae84edc (patch)
treec94fc65e32503164c7f7e963cf6b8bac282815ed /compat
parent9336e00b814e5a54eb52156cf83382b234a4091d (diff)
downloadtcl-b22f54f848812fa00c28429de1d615a35ae84edc.zip
tcl-b22f54f848812fa00c28429de1d615a35ae84edc.tar.gz
tcl-b22f54f848812fa00c28429de1d615a35ae84edc.tar.bz2
Make our mkstemp() replacement build on IRIX 6.5.
Diffstat (limited to 'compat')
-rw-r--r--compat/mkstemp.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/compat/mkstemp.c b/compat/mkstemp.c
index 8adc11b..f86bde2 100644
--- a/compat/mkstemp.c
+++ b/compat/mkstemp.c
@@ -8,9 +8,11 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: mkstemp.c,v 1.1 2009/01/02 16:43:50 dkf Exp $
+ * RCS: @(#) $Id: mkstemp.c,v 1.2 2009/05/12 20:26:04 dkf Exp $
*/
+#include <errno.h>
+#include <fcntl.h>
#include <stdlib.h>
#include <unistd.h>