We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c49f06 commit 47d0f7eCopy full SHA for 47d0f7e
src/libmongoc/src/mongoc/mongoc-client.c
@@ -23,9 +23,9 @@
23
#include <WinDNS.h>
24
#include <ws2tcpip.h>
25
#else
26
+#if defined(MONGOC_HAVE_RES_NSEARCH) || defined(MONGOC_HAVE_RES_SEARCH)
27
#include <netdb.h>
28
#include <netinet/tcp.h>
-#if defined(MONGOC_HAVE_RES_NSEARCH) || defined(MONGOC_HAVE_RES_SEARCH)
29
#include <arpa/nameser.h>
30
#include <resolv.h>
31
#include <bson/bson-string.h>
0 commit comments