summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1998-09-18 22:06:50 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1998-09-18 22:06:50 +0000
commit0629909f3c6d6cb665fa5cb45efa4ca9478dc511 (patch)
tree77b9dc7018bfda9231f7d16f3c1662cc7245c17c
parenta052e188db7ea14be84e205b7f0f7649530935ec (diff)
need sys/stat.h; jon@chalk.oaktree.net.uk
-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>