Fix issues arising from new strlcpy.c

This commit is contained in:
Andrew Bettison 2012-08-14 11:23:27 +09:30
parent d77e5b7c62
commit cd35c5e2ae
2 changed files with 2 additions and 0 deletions

1
.gitignore vendored
View File

@ -4,6 +4,7 @@
*.user *.user
*.ncb *.ncb
*.o *.o
*.a
*.suo *.suo
.*.sw? .*.sw?
configure configure

View File

@ -9,6 +9,7 @@
#ifndef HAVE_STRLCPY #ifndef HAVE_STRLCPY
#include <stdlib.h> /* for size_t */ #include <stdlib.h> /* for size_t */
#include <string.h> /* for strlen, memcpy */
size_t size_t
strlcpy(char *dst, const char *src, size_t size) { strlcpy(char *dst, const char *src, size_t size) {