xbps/include/compat.h

19 lines
309 B
C
Raw Normal View History

#ifndef COMPAT_H
#define COMPAT_H
#include <sys/types.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
#endif /* COMPAT_H */