aboutsummaryrefslogtreecommitdiffstats
path: root/lib/hostsyn.c
diff options
context:
space:
mode:
authorAlex Deymo <deymo@google.com>2018-01-08 19:51:08 +0000
committerandroid-build-merger <android-build-merger@google.com>2018-01-08 19:51:08 +0000
commit484d473385b76e888a2f692b4b6ada6d594868fe (patch)
tree10f2cc17311582d8f1b00ecf3ab0c4af213b839d /lib/hostsyn.c
parent8fe2ac76a9f9439dfbab31efc6c308588364e304 (diff)
parent96660a18c5b612ca290c8266e8d90bebccf0dee5 (diff)
downloadandroid_external_curl-484d473385b76e888a2f692b4b6ada6d594868fe.tar.gz
android_external_curl-484d473385b76e888a2f692b4b6ada6d594868fe.tar.bz2
android_external_curl-484d473385b76e888a2f692b4b6ada6d594868fe.zip
Merge "Update from 7.55.1 to 7.57.0"
am: 96660a18c5 Change-Id: Ibd712b8feab5af0a56a363ffd1855a32cde938a3
Diffstat (limited to 'lib/hostsyn.c')
-rw-r--r--lib/hostsyn.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/hostsyn.c b/lib/hostsyn.c
index 1a95263..3de6746 100644
--- a/lib/hostsyn.c
+++ b/lib/hostsyn.c
@@ -22,6 +22,11 @@
#include "curl_setup.h"
+/***********************************************************************
+ * Only for builds using synchronous name resolves
+ **********************************************************************/
+#ifdef CURLRES_SYNCH
+
#ifdef HAVE_NETINET_IN_H
#include <netinet/in.h>
#endif
@@ -51,11 +56,6 @@
/* The last #include file should be: */
#include "memdebug.h"
-/***********************************************************************
- * Only for builds using synchronous name resolves
- **********************************************************************/
-#ifdef CURLRES_SYNCH
-
/*
* Function provided by the resolver backend to set DNS servers to use.
*/