1 /* $NetBSD: strlcpy-internal.h,v 1.4 2016/01/08 21:35:40 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