|
|
@ -1,19 +1,18 @@
|
|
|
|
diff --git a/src/core/ngx_resolver.c b/src/core/ngx_resolver.c
|
|
|
|
diff --git a/src/core/ngx_resolver.c b/src/core/ngx_resolver.c
|
|
|
|
index cd55520c..7e7fca92 100644
|
|
|
|
index cd55520c..dade1846 100644
|
|
|
|
--- a/src/core/ngx_resolver.c
|
|
|
|
--- a/src/core/ngx_resolver.c
|
|
|
|
+++ b/src/core/ngx_resolver.c
|
|
|
|
+++ b/src/core/ngx_resolver.c
|
|
|
|
@@ -5,6 +5,10 @@
|
|
|
|
@@ -9,12 +9,26 @@
|
|
|
|
*/
|
|
|
|
#include <ngx_core.h>
|
|
|
|
|
|
|
|
#include <ngx_event.h>
|
|
|
|
|
|
|
|
|
|
|
|
+#if !(NGX_WIN32)
|
|
|
|
+#if !(NGX_WIN32)
|
|
|
|
+#include <resolv.h>
|
|
|
|
+#include <resolv.h>
|
|
|
|
+#endif
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
+
|
|
|
|
#include <ngx_config.h>
|
|
|
|
|
|
|
|
#include <ngx_core.h>
|
|
|
|
#define NGX_RESOLVER_UDP_SIZE 4096
|
|
|
|
#include <ngx_event.h>
|
|
|
|
|
|
|
|
@@ -15,6 +19,16 @@
|
|
|
|
|
|
|
|
#define NGX_RESOLVER_TCP_RSIZE (2 + 65535)
|
|
|
|
#define NGX_RESOLVER_TCP_RSIZE (2 + 65535)
|
|
|
|
#define NGX_RESOLVER_TCP_WSIZE 8192
|
|
|
|
#define NGX_RESOLVER_TCP_WSIZE 8192
|
|
|
|
|
|
|
|
|
|
|
|