1 /** 2 * @file 3 * @brief prototypes of strlcat() imported from OpenBSD 4 */ 5 6 #ifndef __COMPAT_STRLCAT_H 7 #define __COMPAT_STRLCAT_H 8 9 #ifdef HAVE_CONFIG_H 10 #include "config.h" 11 #endif 12 13 #if !defined(HAVE_DECL_STRLCAT) || !HAVE_DECL_STRLCAT 14 #include <stddef.h> 15 size_t strlcat(char *dst, const char *src, size_t siz); 16 #else 17 #include <string.h> 18 #endif 19 20 #endif 21