summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/mktemp.c
diff options
context:
space:
mode:
authorchl <chl@openbsd.org>2008-09-15 20:28:44 +0000
committerchl <chl@openbsd.org>2008-09-15 20:28:44 +0000
commitcc0aca657a6ae41f2137f26846aface63c22f1ed (patch)
tree7d5518ce6672d39295235a43ebe9db8207bf82cf /lib/libc/stdio/mktemp.c
parentSimilar to route(8) change mask rtm->rtm_priority with RTP_MASK to show (diff)
downloadwireguard-openbsd-cc0aca657a6ae41f2137f26846aface63c22f1ed.tar.xz
wireguard-openbsd-cc0aca657a6ae41f2137f26846aface63c22f1ed.zip
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>