diff options
Diffstat (limited to '')
-rw-r--r-- | acconfig.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/acconfig.h b/acconfig.h new file mode 100644 index 0000000..1afc2bb --- /dev/null +++ b/acconfig.h @@ -0,0 +1,27 @@ +#undef u_int16_t +#undef u_int32_t +#undef u_int64_t +#undef u_int8_t + +@BOTTOM@ + +/* Prototypes for missing functions */ + +#ifndef HAVE_STRLCPY + size_t strlcpy(char *, const char *, size_t); +#endif + +#ifndef HAVE_STRLCAT + size_t strlcat(char *, const char *, size_t); +#endif + +#ifndef HAVE_STRSEP + char *strsep(char **, const char *); +#endif /* HAVE_STRSEP */ + +#ifndef HAVE_ERR + void err(int, const char *, ...); + void warn(const char *, ...); + void errx(int , const char *, ...); + void warnx(const char *, ...); +#endif |