diff options
author | monty@hundin.mysql.fi <> | 2001-10-09 03:35:29 +0300 |
---|---|---|
committer | monty@hundin.mysql.fi <> | 2001-10-09 03:35:29 +0300 |
commit | d5fe1db868a8786bad901a632631c2d94eadfbe6 (patch) | |
tree | 07f2a0acc005ba2b7fb714ce60cb6f8417c6f60e /extra | |
parent | 196f620e9024b12e33125c4be03c867b0fabbfcc (diff) | |
download | mariadb-git-d5fe1db868a8786bad901a632631c2d94eadfbe6.tar.gz |
One should not only have to include my_net.h to work with sockets.
This wrapper noew will include all the necessary, system specific files,
which makes all normal source files much easier to write and maintain.
Portability fixes.
Diffstat (limited to 'extra')
-rw-r--r-- | extra/resolveip.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/extra/resolveip.c b/extra/resolveip.c index fbd9fe65523..9f59a2892f6 100644 --- a/extra/resolveip.c +++ b/extra/resolveip.c @@ -20,16 +20,11 @@ #define RESOLVE_VERSION "2.0" #include <my_global.h> -#include <sys/types.h> -#include <sys/socket.h> -#ifndef HAVE_BROKEN_NETINET_INCLUDES -#include <netinet/in.h> -#endif -#include <arpa/inet.h> -#include <netdb.h> #include <m_ctype.h> +#include <my_net.h> #include <my_sys.h> #include <m_string.h> +#include <netdb.h> #include <getopt.h> #if !defined(_AIX) && !defined(HAVE_UNIXWARE7_THREADS) && !defined(HAVE_UNIXWARE7_POSIX) && !defined(h_errno) |