summaryrefslogtreecommitdiff
path: root/lib/libc/stdio/tmpfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/stdio/tmpfile.c')
-rw-r--r--lib/libc/stdio/tmpfile.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/stdio/tmpfile.c b/lib/libc/stdio/tmpfile.c
index 8a1b7fb0628..39f7e929a1a 100644
--- a/lib/libc/stdio/tmpfile.c
+++ b/lib/libc/stdio/tmpfile.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tmpfile.c,v 1.9 2005/08/08 08:05:36 espie Exp $ */
+/* $OpenBSD: tmpfile.c,v 1.10 2005/10/10 12:00:52 espie Exp $ */
/*-
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
@@ -37,6 +37,7 @@
#include <signal.h>
#include <errno.h>
#include <stdio.h>
+#include <stdlib.h>
#include <string.h>
#include <paths.h>