diff options
author | Yang Tse <yangsita@gmail.com> | 2010-11-12 16:34:34 +0100 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2010-11-12 16:34:34 +0100 |
commit | b8044334f01a25ce74674ccdc041dddee8d3bc4b (patch) | |
tree | db2f2eaa1fcedcf8a464069a0404ef0655811c14 /ares_options.c | |
parent | e9386cfd9f5fab2cfd68053daf83bab3f2e4af82 (diff) | |
download | c-ares-b8044334f01a25ce74674ccdc041dddee8d3bc4b.tar.gz c-ares-b8044334f01a25ce74674ccdc041dddee8d3bc4b.tar.bz2 c-ares-b8044334f01a25ce74674ccdc041dddee8d3bc4b.zip |
ares_options: reorder header inclusions to make inclusion of
ares_private.h the last included one again.
Diffstat (limited to 'ares_options.c')
-rw-r--r-- | ares_options.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ares_options.c b/ares_options.c index 66bf367..7b957a5 100644 --- a/ares_options.c +++ b/ares_options.c @@ -18,15 +18,15 @@ #include "ares_setup.h" +#ifdef HAVE_ARPA_INET_H +# include <arpa/inet.h> +#endif + #include "ares.h" #include "ares_data.h" -#include "ares_private.h" #include "inet_net_pton.h" +#include "ares_private.h" -/* For inet_pton */ -#ifdef HAVE_ARPA_INET_H -# include <arpa/inet.h> -#endif int ares_get_servers(ares_channel channel, struct ares_addr_node **servers) |