summaryrefslogtreecommitdiff
path: root/extra/resolveip.c
diff options
context:
space:
mode:
authormonty@hundin.mysql.fi <>2001-10-31 20:28:43 +0200
committermonty@hundin.mysql.fi <>2001-10-31 20:28:43 +0200
commit0716bf4d0ef4ec4dd4eb945c2db54f1e9962f401 (patch)
tree92b080e5371729d9f2b8777445095eb5e0545575 /extra/resolveip.c
parentd89690e606d38e5b0f1d82117cd26a5264325088 (diff)
downloadmariadb-git-0716bf4d0ef4ec4dd4eb945c2db54f1e9962f401.tar.gz
Portability fixes
Diffstat (limited to 'extra/resolveip.c')
-rw-r--r--extra/resolveip.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/extra/resolveip.c b/extra/resolveip.c
index d739f8de244..a75c7ecc97a 100644
--- a/extra/resolveip.c
+++ b/extra/resolveip.c
@@ -20,6 +20,9 @@
#define RESOLVE_VERSION "2.0"
#include <global.h>
+#include <m_ctype.h>
+#include <my_sys.h>
+#include <m_string.h>
#include <sys/types.h>
#include <sys/socket.h>
#ifndef HAVE_BROKEN_NETINET_INCLUDES
@@ -27,8 +30,6 @@
#endif
#include <arpa/inet.h>
#include <netdb.h>
-#include <m_ctype.h>
-#include <my_sys.h>
#include <getopt.h>
#if !defined(_AIX) && !defined(HAVE_UNIXWARE7_THREADS) && !defined(HAVE_UNIXWARE7_POSIX) && !defined(h_errno)