wininet: Include config.h in internet.c for Mac configure macros.
Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
e0e0b6b7c6
commit
7d541b3fd3
@ -26,15 +26,7 @@
|
||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
|
||||
#include "ws2tcpip.h"
|
||||
|
||||
#include <string.h>
|
||||
#include <stdarg.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <ctype.h>
|
||||
#include <assert.h>
|
||||
#include "config.h"
|
||||
|
||||
#ifdef HAVE_CORESERVICES_CORESERVICES_H
|
||||
#define GetCurrentThread MacGetCurrentThread
|
||||
@ -45,6 +37,16 @@
|
||||
#undef DPRINTF
|
||||
#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 "winbase.h"
|
||||
#include "winreg.h"
|
||||
@ -3370,7 +3372,7 @@ BOOL WINAPI InternetCheckConnectionW( LPCWSTR lpszUrl, DWORD dwFlags, DWORD dwRe
|
||||
if (dwFlags & FLAG_ICC_FORCE_CONNECTION)
|
||||
{
|
||||
struct sockaddr_storage saddr;
|
||||
socklen_t sa_len = sizeof(saddr);
|
||||
int sa_len = sizeof(saddr);
|
||||
WCHAR *host_z;
|
||||
int fd;
|
||||
BOOL b;
|
||||
|
Loading…
x
Reference in New Issue
Block a user