summaryrefslogtreecommitdiff
path: root/extra/resolveip.c
diff options
context:
space:
mode:
authorlenz@mysql.com <>2003-09-11 13:36:08 +0200
committerlenz@mysql.com <>2003-09-11 13:36:08 +0200
commitebfa41086dc91a953c83ea993d3e4f69f9904d7d (patch)
treec2cfea677e906a61ebf812fa209abe659c143926 /extra/resolveip.c
parenta6e3ee6bef48ea0b7b3f14f629587120f5471d87 (diff)
downloadmariadb-git-ebfa41086dc91a953c83ea993d3e4f69f9904d7d.tar.gz
- backported compatibility fix for extra/resolveip.c from 4.0
to be able to compile on HP-UX 10.20 (which does not have in_add_t).
Diffstat (limited to 'extra/resolveip.c')
-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;