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