summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/tmpfile.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1998-09-18 22:06:49 +0000
committerderaadt <deraadt@openbsd.org>1998-09-18 22:06:49 +0000
commit868470568cf63bfa37c5fdc64ec677b20c7bb2b5 (patch)
treed74d869764edab7c781e43366682339e567e21ea /lib/libc/stdio/tmpfile.c
parentlebuffer cards are UTP (diff)
downloadwireguard-openbsd-868470568cf63bfa37c5fdc64ec677b20c7bb2b5.tar.xz
wireguard-openbsd-868470568cf63bfa37c5fdc64ec677b20c7bb2b5.zip
need sys/stat.h; jon@chalk.oaktree.net.uk
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 7496c504738..76d14316ee1 100644
--- a/lib/libc/stdio/tmpfile.c
+++ b/lib/libc/stdio/tmpfile.c
@@ -35,10 +35,11 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: tmpfile.c,v 1.5 1998/03/10 20:27:06 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: tmpfile.c,v 1.6 1998/09/18 22:06:49 deraadt Exp $";
#endif /* LIBC_SCCS and not lint */
#include <sys/types.h>
+#include <sys/stat.h>
#include <unistd.h>
#include <signal.h>
#include <errno.h>