mirror of
https://github.com/servalproject/serval-dna.git
synced 2025-03-24 04:45:22 +00:00
Fix issues arising from new strlcpy.c
This commit is contained in:
parent
d77e5b7c62
commit
cd35c5e2ae
1
.gitignore
vendored
1
.gitignore
vendored
@ -4,6 +4,7 @@
|
||||
*.user
|
||||
*.ncb
|
||||
*.o
|
||||
*.a
|
||||
*.suo
|
||||
.*.sw?
|
||||
configure
|
||||
|
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user