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
*.ncb
*.o
*.a
*.suo
.*.sw?
configure

View File

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