summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--extra/resolveip.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/extra/resolveip.c b/extra/resolveip.c
index 764844bf622..133f6ddeb07 100644
--- a/extra/resolveip.c
+++ b/extra/resolveip.c
@@ -36,6 +36,10 @@
extern int h_errno;
#endif
+#ifndef HAVE_IN_ADDR_T
+#define in_addr_t u_long
+#endif
+
static int silent=0;