diff options
Diffstat (limited to 'plugins/common.h.in')
-rw-r--r-- | plugins/common.h.in | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/plugins/common.h.in b/plugins/common.h.in index 48e7f6f..09df00d 100644 --- a/plugins/common.h.in +++ b/plugins/common.h.in | |||
@@ -72,6 +72,13 @@ | |||
72 | 72 | ||
73 | #include <ctype.h> | 73 | #include <ctype.h> |
74 | 74 | ||
75 | #if HAVE_LWRES_NETDB_H | ||
76 | #include <lwres/netdb.h> | ||
77 | #elif !HAVE_GETADDRINFO | ||
78 | #include "getaddrinfo.h" | ||
79 | #else | ||
80 | #include <netdb.h> | ||
81 | #endif | ||
75 | 82 | ||
76 | /* | 83 | /* |
77 | * | 84 | * |