Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
indutny committed Feb 6, 2016
1 parent 86c1afa commit f4cc5cd
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 1,659 deletions.
3 changes: 0 additions & 3 deletions deps/cares/cares.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,6 @@
'include/ares.h',
'include/ares_version.h',
'include/nameser.h',
'src/acountry.c',
'src/adig.c',
'src/ahost.c',
'src/ares_cancel.c',
'src/ares__close_sockets.c',
'src/ares_create_query.c',
Expand Down
10 changes: 8 additions & 2 deletions deps/cares/include/ares_build.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,14 @@

/* Configure process defines this to 1 when it finds out that system */
/* header file ws2tcpip.h must be included by the external interface. */

#ifdef WIN32
# define CARES_PULL_WS2TCPIP_H 1
#else
# define CARES_PULL_SYS_TYPES_H 1
# define CARES_PULL_SYS_SOCKET_H 1
#endif

/* #undef CARES_PULL_WS2TCPIP_H */
#ifdef CARES_PULL_WS2TCPIP_H
# ifndef WIN32_LEAN_AND_MEAN
Expand All @@ -84,14 +92,12 @@

/* Configure process defines this to 1 when it finds out that system */
/* header file sys/types.h must be included by the external interface. */
#define CARES_PULL_SYS_TYPES_H 1
#ifdef CARES_PULL_SYS_TYPES_H
# include <sys/types.h>
#endif

/* Configure process defines this to 1 when it finds out that system */
/* header file sys/socket.h must be included by the external interface. */
#define CARES_PULL_SYS_SOCKET_H 1
#ifdef CARES_PULL_SYS_SOCKET_H
# include <sys/socket.h>
#endif
Expand Down
Loading

0 comments on commit f4cc5cd

Please sign in to comment.