- Fix netstat build.

- Improve WSPSelect declarations in msafd.
- Include the correct wmilib header in wmi.
- Remove a commented out inclusion in ws2san.h

svn path=/branches/header-work/; revision=46763
This commit is contained in:
Amine Khaldi 2010-04-07 15:16:21 +00:00
parent 15ca120bcc
commit 4e795c1f4c
5 changed files with 12 additions and 16 deletions

View file

@ -14,7 +14,7 @@
*/
#include <windows.h>
#include <winsock.h>
#include <winsock2.h>
#include <tchar.h>
#include <stdio.h>
#include <stdlib.h>

View file

@ -751,12 +751,12 @@ WSPListen(SOCKET Handle,
int
WSPAPI
WSPSelect(int nfds,
fd_set *readfds,
fd_set *writefds,
fd_set *exceptfds,
const LPTIMEVAL timeout,
LPINT lpErrno)
WSPSelect(IN int nfds,
IN OUT fd_set *readfds OPTIONAL,
IN OUT fd_set *writefds OPTIONAL,
IN OUT fd_set *exceptfds OPTIONAL,
IN const struct timeval *timeout OPTIONAL,
OUT LPINT lpErrno)
{
IO_STATUS_BLOCK IOSB;
PAFD_POLL_INFO PollInfo;

View file

@ -325,10 +325,10 @@ INT
WSPAPI
WSPSelect(
IN INT nfds,
IN OUT LPFD_SET readfds,
IN OUT LPFD_SET writefds,
IN OUT LPFD_SET exceptfds,
IN CONST LPTIMEVAL timeout,
IN OUT fd_set *readfds,
IN OUT fd_set *writefds,
IN OUT fd_set *exceptfds,
IN CONST struct timeval *timeout,
OUT LPINT lpErrno);
INT

View file

@ -11,7 +11,7 @@
#include <stdio.h>
#include <ntddk.h>
#include <wmlib.h>
#include <wmilib.h>
#define NDEBUG
#include <debug.h>

View file

@ -22,10 +22,6 @@
#pragma once
/* FIXME
#include <winsock2.h>
*/
#ifdef __cplusplus
extern "C" {
#endif