]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
header entries for compats
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Fri, 16 Feb 2007 15:33:57 +0000 (15:33 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Fri, 16 Feb 2007 15:33:57 +0000 (15:33 +0000)
git-svn-id: file:///svn/unbound/trunk@114 be551aaa-1e26-0410-a405-d3ace91eadb9

configure.ac

index 4b9dcaf9d9cc93696069d331c2adc4d5c50248b6..aa3586c701683d8d096b858dc34c853b6de83275 100644 (file)
@@ -495,6 +495,21 @@ AH_BOTTOM([
 #define AF_INET6        28
 #endif
 
+#ifndef HAVE_SNPRINTF
+#include <stdarg.h>
+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 */