projects
/
platform
/
upstream
/
c-ares.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9386cf
)
ares_options: reorder header inclusions to make inclusion of
author
Yang Tse
<yangsita@gmail.com>
Fri, 12 Nov 2010 15:34:34 +0000
(16:34 +0100)
committer
Yang 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
patch
|
blob
|
history
diff --git
a/ares_options.c
b/ares_options.c
index
66bf367
..
7b957a5
100644
(file)
--- 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)