summaryrefslogtreecommitdiff
path: root/extra/resolveip.c
diff options
context:
space:
mode:
authormonty@hundin.mysql.fi <>2002-05-31 15:22:38 +0300
committermonty@hundin.mysql.fi <>2002-05-31 15:22:38 +0300
commite2a116411e7b293b5d0d920c8a94794dd75dd334 (patch)
tree85c51f351e6086eebde739636a64e7ab09b85277 /extra/resolveip.c
parenta2ec51cec16205154aa2c7f5ecf6ec3c98a978e8 (diff)
downloadmariadb-git-e2a116411e7b293b5d0d920c8a94794dd75dd334.tar.gz
Portability fixes for SCO and HPUX
Change TRUNCATE(number) to truncate towards zero for negative numbers Fix NULL handling for DESCRIBE table_name
Diffstat (limited to 'extra/resolveip.c')
-rw-r--r--extra/resolveip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extra/resolveip.c b/extra/resolveip.c
index 9bab5846c03..ba2db0a4d65 100644
--- a/extra/resolveip.c
+++ b/extra/resolveip.c
@@ -20,7 +20,6 @@
#include <my_global.h>
#include <m_ctype.h>
-#include <my_net.h>
#include <my_sys.h>
#include <m_string.h>
#include <sys/types.h>
@@ -30,6 +29,7 @@
#endif
#include <arpa/inet.h>
#include <netdb.h>
+#include <my_net.h>
#include <getopt.h>
#if !defined(_AIX) && !defined(HAVE_UNIXWARE7_THREADS) && !defined(HAVE_UNIXWARE7_POSIX) && !defined(h_errno)