- Fix ws2_32_new's build problems
[reactos.git] / reactos / dll / win32 / ws2_32_new / inc / ws2_32.h
1 /*
2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS WinSock 2.2 Library
4 * FILE: lib/ws2_32.h
5 * PURPOSE: WinSock 2.2 Main Header
6 */
7
8 #ifndef __WS2_32_H
9 #define __WS2_32_H
10
11 /* Definitions for NDK Usage */
12 #define WIN32_NO_STATUS
13 //#define _WIN32_WINNT 0x502
14 #define NTOS_MODE_USER
15 #define _CRT_SECURE_NO_DEPRECATE
16 #define WINSOCK_API_LINKAGE
17 #define DBG 1
18
19 /* C Header */
20 #include <stdio.h>
21
22 /* PSDK and NDK Headers */
23 #include <winsock2.h>
24 #include <ws2tcpip.h>
25 #include <ws2spi.h>
26 #include <ndk/umtypes.h>
27 #include <ndk/rtlfuncs.h>
28 #include <svcguid.h>
29
30 /* Winsock Helper Header */
31 #include <ws2help.h>
32
33 /* Missing definitions */
34 #define SO_OPENTYPE 0x7008
35 #define SO_SYNCHRONOUS_NONALERT 0x20
36
37 /* Internal headers */
38 #include "ws2_32p.h"
39
40 #endif
41