summaryrefslogtreecommitdiff
path: root/extra/resolveip.c
diff options
context:
space:
mode:
authorunknown <lenz@mysql.com>2003-09-11 13:36:08 +0200
committerunknown <lenz@mysql.com>2003-09-11 13:36:08 +0200
commit2a5e1057a21a5616c0a63306b70bb09e3d51919a (patch)
treec2cfea677e906a61ebf812fa209abe659c143926 /extra/resolveip.c
parent15cb9caea6c34d05cf7d42d6d155e6f89fadbceb (diff)
downloadmariadb-git-2a5e1057a21a5616c0a63306b70bb09e3d51919a.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). extra/resolveip.c: - backport compatibility fix 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;