summaryrefslogtreecommitdiffstats
path: root/compat/mkstemp.c
diff options
context:
space:
mode:
Diffstat (limited to 'compat/mkstemp.c')
-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>