2011-07-09 14:20:44 +05:30
|
|
|
#ifndef COMPAT_H
|
|
|
|
#define COMPAT_H
|
|
|
|
|
|
|
|
#include <sys/types.h>
|
2011-11-24 15:53:08 +05:30
|
|
|
#include <stdarg.h>
|
2011-07-09 14:20:44 +05:30
|
|
|
|
|
|
|
#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
|
|
|
|
|
2011-11-24 15:53:08 +05:30
|
|
|
#if defined(HAVE_VASPRINTF) && !defined(_GNU_SOURCE)
|
|
|
|
int vasprintf(char **, const char *, va_list);
|
|
|
|
#endif
|
|
|
|
|
2011-07-09 14:20:44 +05:30
|
|
|
#endif /* COMPAT_H */
|