xref: /freebsd/contrib/libevent/strlcpy-internal.h (revision af23369a6deaaeb612ab266eb88b8bb8d560c322)
1 #ifndef STRLCPY_INTERNAL_H_INCLUDED_
2 #define STRLCPY_INTERNAL_H_INCLUDED_
3 
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7 
8 #include "event2/event-config.h"
9 #include "evconfig-private.h"
10 
11 #ifndef EVENT__HAVE_STRLCPY
12 #include <string.h>
13 size_t event_strlcpy_(char *dst, const char *src, size_t siz);
14 #define strlcpy event_strlcpy_
15 #endif
16 
17 #ifdef __cplusplus
18 }
19 #endif
20 
21 #endif
22 
23