diff options
author | Gisle Vanem <gvanem@broadpark.no> | 2005-03-13 09:21:54 +0000 |
---|---|---|
committer | Gisle Vanem <gvanem@broadpark.no> | 2005-03-13 09:21:54 +0000 |
commit | 1223fb7eaceca6a7009a6a06ddfe094f926aa723 (patch) | |
tree | 413d6cdd99ff3e565f0114026ebec982dd1f7863 /ares_process.c | |
parent | e1e80ecdd6e01436e338cabba4c7519264d56134 (diff) | |
download | c-ares-1223fb7eaceca6a7009a6a06ddfe094f926aa723.tar.gz c-ares-1223fb7eaceca6a7009a6a06ddfe094f926aa723.tar.bz2 c-ares-1223fb7eaceca6a7009a6a06ddfe094f926aa723.zip |
Prevent gcc warning.
Diffstat (limited to 'ares_process.c')
-rw-r--r-- | ares_process.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ares_process.c b/ares_process.c index 887149e..0190f78 100644 --- a/ares_process.c +++ b/ares_process.c @@ -465,8 +465,12 @@ void ares__send_query(ares_channel channel, struct query *query, time_t now) static int open_tcp_socket(ares_channel channel, struct server_state *server) { - ares_socket_t s; +#if defined(WIN32) + u_long flags; +#else int flags; +#endif + ares_socket_t s; struct sockaddr_in sockin; /* Acquire a socket. */ |