21 lines
349 B
C
21 lines
349 B
C
/**
|
|
* @file
|
|
* @brief prototypes of strlcat() imported from OpenBSD
|
|
*/
|
|
|
|
#ifndef __COMPAT_STRLCAT_H
|
|
#define __COMPAT_STRLCAT_H
|
|
|
|
#ifdef HAVE_CONFIG_H
|
|
#include "config.h"
|
|
#endif
|
|
|
|
#if !defined(HAVE_DECL_STRLCAT) || !HAVE_DECL_STRLCAT
|
|
#include <stddef.h>
|
|
size_t strlcat(char *dst, const char *src, size_t siz);
|
|
#else
|
|
#include <string.h>
|
|
#endif
|
|
|
|
#endif
|