xref: /netbsd-src/external/bsd/ntp/dist/sntp/libevent/strlcpy-internal.h (revision 6a493d6bc668897c91594964a732d38505b70cbb)
1 /*	$NetBSD: strlcpy-internal.h,v 1.1.1.1 2013/12/27 23:31:17 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