summaryrefslogtreecommitdiff
path: root/common/compat.h
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2009-10-24 14:10:41 +0000
committerStef Walter <stef@memberwebs.com>2009-10-24 14:10:41 +0000
commit0af1b01b5ca61422c779b40a9c99cd0b29b40049 (patch)
tree26374207ac7df32b16332090328cd1a99ddeff4f /common/compat.h
parent54c751ffc4f79dcd916b4dffe690f59615c7146d (diff)
Support for multiple local sockets (ie: INET + INET6)
* Allows us to make ipv6 queries.
Diffstat (limited to 'common/compat.h')
-rw-r--r--common/compat.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/compat.h b/common/compat.h
index 8eda20f..e19d1b1 100644
--- a/common/compat.h
+++ b/common/compat.h
@@ -73,6 +73,10 @@ int strtob(const char* str);
void atexitv(void (*func)(void*), void* data);
#endif
+#ifndef HAVE_XREALLOC
+void* xrealloc(void *p, size_t size);
+#endif
+
#ifndef HAVE_XCALLOC
void* xcalloc(size_t size);
#endif