ares_options: reorder header inclusions to make inclusion of
authorYang Tse <yangsita@gmail.com>
Fri, 12 Nov 2010 15:34:34 +0000 (16:34 +0100)
committerYang Tse <yangsita@gmail.com>
Fri, 12 Nov 2010 15:34:34 +0000 (16:34 +0100)
ares_private.h the last included one again.

ares_options.c

index 66bf367..7b957a5 100644 (file)
 
 #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)