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 | 13d40e33a4442adcc29893b36a91f39fc02d24bf (patch) | |
tree | 9900f83321c8e76d815cd6c3e301d3a065dbb60b /ares | |
parent | c765213aaa948a42c2db5cca930652b838e0a3db (diff) |
Prevent gcc warning.
Diffstat (limited to 'ares')
-rw-r--r-- | ares/ares_process.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ares/ares_process.c b/ares/ares_process.c index 887149efb..0190f785e 100644 --- a/ares/ares_process.c +++ b/ares/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. */ |