aboutsummaryrefslogtreecommitdiffstats
path: root/community/loudmouth/fix-freeaddrinfo.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/loudmouth/fix-freeaddrinfo.patch')
-rw-r--r--community/loudmouth/fix-freeaddrinfo.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/community/loudmouth/fix-freeaddrinfo.patch b/community/loudmouth/fix-freeaddrinfo.patch
new file mode 100644
index 00000000000..bc8852f8680
--- /dev/null
+++ b/community/loudmouth/fix-freeaddrinfo.patch
@@ -0,0 +1,14 @@
+--- a/loudmouth/lm-asyncns-resolver.h
++++ b/loudmouth/lm-asyncns-resolver.h
+@@ -20,6 +20,11 @@
+ #define __LM_ASYNCNS_RESOLVER_H__
+
+ #include <glib-object.h>
++#include <config.h>
++
++#ifdef HAVE_ASYNCNS
++#define freeaddrinfo(x) asyncns_freeaddrinfo(x)
++#endif
+
+ #include "lm-resolver.h"
+