summaryrefslogtreecommitdiff
path: root/lib/libc/stdio/mktemp.c
diff options
context:
space:
mode:
authorCharles Longeau <chl@cvs.openbsd.org>2008-09-15 20:28:45 +0000
committerCharles Longeau <chl@cvs.openbsd.org>2008-09-15 20:28:45 +0000
commit2b18e9efee06760a43443f3d47923841b2be512f (patch)
treede5774f07e5321082270b3a479c5c24917728497 /lib/libc/stdio/mktemp.c
parent125a227054ddee4cb23bf9b95f6b619ba7b217b1 (diff)
add missing header needed by strlen().
ok millert@
Diffstat (limited to 'lib/libc/stdio/mktemp.c')
-rw-r--r--lib/libc/stdio/mktemp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/stdio/mktemp.c b/lib/libc/stdio/mktemp.c
index e70b2427704..b88ef741fd7 100644
--- a/lib/libc/stdio/mktemp.c
+++ b/lib/libc/stdio/mktemp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mktemp.c,v 1.23 2008/08/22 00:56:13 millert Exp $ */
+/* $OpenBSD: mktemp.c,v 1.24 2008/09/15 20:28:44 chl Exp $ */
/*
* Copyright (c) 1987, 1993
* The Regents of the University of California. All rights reserved.
@@ -34,6 +34,7 @@
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <ctype.h>
#include <unistd.h>