1 #ifndef _STRLCPY_INTERNAL_H_ 2 #define _STRLCPY_INTERNAL_H_ 3 4 #ifdef __cplusplus 5 extern "C" { 6 #endif 7 8 #include "event2/event-config.h" 9 #include "event2/util.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