xref: /netbsd-src/external/bsd/ntp/dist/sntp/libevent/strlcpy-internal.h (revision d16b7486a53dcb8072b60ec6fcb4373a2d0c27b7)
1 /*	$NetBSD: strlcpy-internal.h,v 1.5 2020/05/25 20:47:33 christos Exp $	*/
2 
3 #ifndef STRLCPY_INTERNAL_H_INCLUDED_
4 #define STRLCPY_INTERNAL_H_INCLUDED_
5 
6 #ifdef __cplusplus
7 extern "C" {
8 #endif
9 
10 #include "event2/event-config.h"
11 #include "evconfig-private.h"
12 
13 #ifndef EVENT__HAVE_STRLCPY
14 #include <string.h>
15 size_t event_strlcpy_(char *dst, const char *src, size_t siz);
16 #define strlcpy event_strlcpy_
17 #endif
18 
19 #ifdef __cplusplus
20 }
21 #endif
22 
23 #endif
24 
25