summaryrefslogtreecommitdiff
path: root/src/stdio/tmpnam.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2014-05-27 14:21:46 -0400
committerRich Felker <dalias@aerifal.cx>2014-05-27 14:21:46 -0400
commitd677d3fe830899926072af6dfffefb16ab6b50bd (patch)
treed8357f5168fa84505f06219e761f9e9cff34a1eb /src/stdio/tmpnam.c
parent2fe6579125fe042f2255afbf00fc8e4b80d6a6be (diff)
downloadmusl-d677d3fe830899926072af6dfffefb16ab6b50bd.tar.gz
fix missing declaration of strcpy in implementation of tmpnam
Diffstat (limited to 'src/stdio/tmpnam.c')
-rw-r--r--src/stdio/tmpnam.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/stdio/tmpnam.c b/src/stdio/tmpnam.c
index 92f699c2..c3f5a2ff 100644
--- a/src/stdio/tmpnam.c
+++ b/src/stdio/tmpnam.c
@@ -2,6 +2,7 @@
#include <fcntl.h>
#include <errno.h>
#include <sys/stat.h>
+#include <string.h>
#include "syscall.h"
#define MAXTRIES 100