Commit 7d541b3f authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

wininet: Include config.h in internet.c for Mac configure macros.

parent e0e0b6b7
...@@ -26,15 +26,7 @@ ...@@ -26,15 +26,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
#include "config.h"
#include "ws2tcpip.h"
#include <string.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <assert.h>
#ifdef HAVE_CORESERVICES_CORESERVICES_H #ifdef HAVE_CORESERVICES_CORESERVICES_H
#define GetCurrentThread MacGetCurrentThread #define GetCurrentThread MacGetCurrentThread
...@@ -45,6 +37,16 @@ ...@@ -45,6 +37,16 @@
#undef DPRINTF #undef DPRINTF
#endif #endif
#include "winsock2.h"
#include "ws2ipdef.h"
#include <string.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <assert.h>
#include "windef.h" #include "windef.h"
#include "winbase.h" #include "winbase.h"
#include "winreg.h" #include "winreg.h"
...@@ -3370,7 +3372,7 @@ BOOL WINAPI InternetCheckConnectionW( LPCWSTR lpszUrl, DWORD dwFlags, DWORD dwRe ...@@ -3370,7 +3372,7 @@ BOOL WINAPI InternetCheckConnectionW( LPCWSTR lpszUrl, DWORD dwFlags, DWORD dwRe
if (dwFlags & FLAG_ICC_FORCE_CONNECTION) if (dwFlags & FLAG_ICC_FORCE_CONNECTION)
{ {
struct sockaddr_storage saddr; struct sockaddr_storage saddr;
socklen_t sa_len = sizeof(saddr); int sa_len = sizeof(saddr);
WCHAR *host_z; WCHAR *host_z;
int fd; int fd;
BOOL b; BOOL b;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment