xref: /freebsd/contrib/ntp/sntp/libevent/strlcpy-internal.h (revision 63a938566d524836885917d95bd491aa4400b181)
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