From: Wouter Wijngaards Date: Fri, 16 Feb 2007 15:33:57 +0000 (+0000) Subject: header entries for compats X-Git-Tag: release-0.0~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=70dccb05e4568d05d37d71e3d81146bca862e5d5;p=thirdparty%2Funbound.git header entries for compats git-svn-id: file:///svn/unbound/trunk@114 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/configure.ac b/configure.ac index 4b9dcaf9d..aa3586c70 100644 --- a/configure.ac +++ b/configure.ac @@ -495,6 +495,21 @@ AH_BOTTOM([ #define AF_INET6 28 #endif +#ifndef HAVE_SNPRINTF +#include +int snprintf (char *str, size_t count, const char *fmt, ...); +int vsnprintf (char *str, size_t count, const char *fmt, va_list arg); +#endif /* HAVE_SNPRINTF */ +#ifndef HAVE_MEMMOVE +void *memmove(void *dest, const void *src, size_t n); +#endif +#ifndef HAVE_STRLCPY +size_t strlcpy(char *dst, const char *src, size_t siz); +#endif +#ifndef HAVE_GETADDRINFO +#include "compat/fake-rfc2553.h" +#endif + #include "ldns/ldns.h" /** default port to listen for queries, passed to getaddrinfo */