include: Add the missing inaddr.h and in6addr.h include directives.

This commit is contained in:
Francois Gouget 2011-12-09 12:00:39 +01:00 committed by Alexandre Julliard
parent 6fa0bda535
commit 653c1d76d0
6 changed files with 10 additions and 3 deletions

View File

@ -63,6 +63,8 @@
# include <sys/poll.h> # include <sys/poll.h>
#endif #endif
#define USE_WS_PREFIX
#include "windef.h" #include "windef.h"
#include "winbase.h" #include "winbase.h"
#include "winerror.h" #include "winerror.h"

View File

@ -37,8 +37,8 @@
#include "windef.h" #include "windef.h"
#include "winbase.h" #include "winbase.h"
#include "iprtrmib.h"
#define USE_WS_PREFIX #define USE_WS_PREFIX
#include "iprtrmib.h"
#include "winsock2.h" #include "winsock2.h"
#define MAX_INTERFACE_PHYSADDR 8 #define MAX_INTERFACE_PHYSADDR 8

View File

@ -21,6 +21,9 @@
#ifndef __WINE_IPEXPORT_H #ifndef __WINE_IPEXPORT_H
#define __WINE_IPEXPORT_H #define __WINE_IPEXPORT_H
#include <in6addr.h>
#include <inaddr.h>
typedef ULONG IPAddr; typedef ULONG IPAddr;
typedef ULONG IPMask; typedef ULONG IPMask;
typedef ULONG IP_STATUS; typedef ULONG IP_STATUS;

View File

@ -21,7 +21,7 @@
#include <lmcons.h> #include <lmcons.h>
#include <ras.h> #include <ras.h>
/* FIXME: #include <in6addr.h> */ #include <in6addr.h>
#define MAX_DEVICE_NAME 128 #define MAX_DEVICE_NAME 128
#define MAX_DEVICETYPE_NAME 16 #define MAX_DEVICETYPE_NAME 16

View File

@ -25,6 +25,8 @@
extern "C" { extern "C" {
#endif #endif
#include <pshpack4.h> #include <pshpack4.h>
#include <inaddr.h>
#include <in6addr.h>
#define RAS_MaxCallbackNumber RAS_MaxPhoneNumber #define RAS_MaxCallbackNumber RAS_MaxPhoneNumber
#define RAS_MaxDeviceName 128 #define RAS_MaxDeviceName 128

View File

@ -19,7 +19,7 @@
#ifndef _WS2DEF_ #ifndef _WS2DEF_
#define _WS2DEF_ #define _WS2DEF_
/* FIXME: #include <inaddr.h> */ #include <inaddr.h>
#ifdef USE_WS_PREFIX #ifdef USE_WS_PREFIX
#define WS(x) WS_##x #define WS(x) WS_##x