mirror of
https://github.com/servalproject/serval-dna.git
synced 2024-12-19 05:07:56 +00:00
Fix build when strlcpy is present
This commit is contained in:
parent
5a82bfcf31
commit
7f9b5f0e4f
@ -21,7 +21,7 @@
|
|||||||
#define __STRLCPY_H__
|
#define __STRLCPY_H__
|
||||||
|
|
||||||
#ifdef HAVE_STRLCPY
|
#ifdef HAVE_STRLCPY
|
||||||
#include <bsd/string.h>
|
#include <string.h>
|
||||||
#else
|
#else
|
||||||
size_t strlcpy(char *dst, const char *src, size_t sz);
|
size_t strlcpy(char *dst, const char *src, size_t sz);
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user