summaryrefslogtreecommitdiff
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
parent2fe6579125fe042f2255afbf00fc8e4b80d6a6be (diff)
downloadmusl-d677d3fe830899926072af6dfffefb16ab6b50bd.tar.gz
musl-d677d3fe830899926072af6dfffefb16ab6b50bd.tar.bz2
musl-d677d3fe830899926072af6dfffefb16ab6b50bd.tar.xz
musl-d677d3fe830899926072af6dfffefb16ab6b50bd.zip
fix missing declaration of strcpy in implementation of tmpnam
-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