# HG changeset patch # User Christoph Moench-Tegeder # Date 1452540689 -3600 # Node ID a6a41aec40f265a67b73a1f236d12dc7e080d2dc # Parent 745e7d2e5831bd240c3509adcc92d7c0b86112c2 include netinet/in.h in resolver On some platforms (notably FreeBSD) netinet/in.h is required for the struct in_addr type and IPPROTO_* constants. As this header and both required definitions are documented in IEEE Std 1003.1, this should be safe on all systems. diff -r 745e7d2e5831 -r a6a41aec40f2 loudmouth/lm-blocking-resolver.c --- a/loudmouth/lm-blocking-resolver.c Sun Nov 15 15:55:27 2015 +0100 +++ b/loudmouth/lm-blocking-resolver.c Mon Jan 11 20:31:29 2016 +0100 @@ -29,6 +29,7 @@ #include #endif +#include #include #include diff -r 745e7d2e5831 -r a6a41aec40f2 loudmouth/lm-resolver.c --- a/loudmouth/lm-resolver.c Sun Nov 15 15:55:27 2015 +0100 +++ b/loudmouth/lm-resolver.c Mon Jan 11 20:31:29 2016 +0100 @@ -27,6 +27,7 @@ #include #endif +#include #include #include