3ccfec7054
This is a major API/ABI change, documentation has been updated accordingly.
24 lines
437 B
C
24 lines
437 B
C
#ifndef COMPAT_H
|
|
#define COMPAT_H
|
|
|
|
#include <sys/types.h>
|
|
#include <stdarg.h>
|
|
|
|
#ifndef HAVE_STRLCAT
|
|
size_t strlcat(char *, const char *, size_t);
|
|
#endif
|
|
|
|
#ifndef HAVE_STRLCPY
|
|
size_t strlcpy(char *, const char *, size_t);
|
|
#endif
|
|
|
|
#ifndef HAVE_STRCASESTR
|
|
char *strcasestr(const char *, const char *);
|
|
#endif
|
|
|
|
#if defined(HAVE_VASPRINTF) && !defined(_GNU_SOURCE)
|
|
int vasprintf(char **, const char *, va_list);
|
|
#endif
|
|
|
|
#endif /* COMPAT_H */
|