xref: /reactos/dll/win32/wininet/precomp.h (revision 19b18ce2)
1 
2 #ifndef _WININET_PRECOMP_H_
3 #define _WININET_PRECOMP_H_
4 
5 #include <wine/config.h>
6 
7 #include <assert.h>
8 #include <stdio.h>
9 
10 #define _INC_WINDOWS
11 #define COM_NO_WINDOWS_H
12 
13 #define NONAMELESSUNION
14 #define NONAMELESSSTRUCT
15 
16 #include <windef.h>
17 #include <winbase.h>
18 #include <winreg.h>
19 #include <winuser.h>
20 #include <wininet.h>
21 #define NO_SHLWAPI_STREAM
22 #define NO_SHLWAPI_REG
23 #define NO_SHLWAPI_GDI
24 #include <shlwapi.h>
25 
26 #include <wine/debug.h>
27 
28 #ifdef HAVE_ARPA_INET_H
29 # include <arpa/inet.h>
30 #endif
31 #ifdef HAVE_NETDB_H
32 # include <netdb.h>
33 #endif
34 #ifdef HAVE_NETINET_IN_H
35 # include <sys/types.h>
36 # include <netinet/in.h>
37 #endif
38 #ifdef HAVE_SYS_IOCTL_H
39 # include <sys/ioctl.h>
40 #endif
41 #ifdef HAVE_SYS_POLL_H
42 # include <sys/poll.h>
43 #endif
44 #ifdef HAVE_SYS_SOCKET_H
45 # include <sys/socket.h>
46 #endif
47 #ifdef HAVE_SYS_TIME_H
48 # include <sys/time.h>
49 #endif
50 #ifdef HAVE_UNISTD_H
51 # include <unistd.h>
52 #endif
53 
54 #if defined(__MINGW32__) || defined (_MSC_VER)
55 #include <ws2tcpip.h>
56 #else
57 #define closesocket close
58 #define ioctlsocket ioctl
59 #endif /* __MINGW32__ */
60 
61 #include "internet.h"
62 #include "resource.h"
63 
64 #endif /* !_WININET_PRECOMP_H_ */
65