From b0a905c5a0a37a1733a9ea902aa44b8be0912a95 Mon Sep 17 00:00:00 2001 From: Chris Sutcliffe Date: Tue, 20 Mar 2012 00:28:53 +0000 Subject: [PATCH] 2012-03-19 Ben Greear * include/routprot.h (IP_LOCAL_BINDING): Move above IP_ADAPTER_BINDING_INFO to correct warning about IP_LOCAL_BINDING being undefined. --- winsup/w32api/ChangeLog | 5 +++++ winsup/w32api/include/routprot.h | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog index 96f61ce73..fb7b4fe93 100644 --- a/winsup/w32api/ChangeLog +++ b/winsup/w32api/ChangeLog @@ -1,3 +1,8 @@ +2012-03-19 Ben Greear + + * include/routprot.h (IP_LOCAL_BINDING): Move above IP_ADAPTER_BINDING_INFO + to correct warning about IP_LOCAL_BINDING being undefined. + 2012-01-16 Keith Marshall Correct misused 'rm -r' command in uninstall rules. diff --git a/winsup/w32api/include/routprot.h b/winsup/w32api/include/routprot.h index 54fe9ee68..319835fef 100644 --- a/winsup/w32api/include/routprot.h +++ b/winsup/w32api/include/routprot.h @@ -43,6 +43,10 @@ extern "C" { #define IPX_PROTOCOL_NLSP 0x00020002 /*--- Router Management Reference - Router Management Structures */ #if (_WIN32_WINNT >= 0x0500) +typedef struct IP_LOCAL_BINDING { + DWORD Address; + DWORD Mask; +} IP_LOCAL_BINDING,*PIP_LOCAL_BINDING; typedef struct IP_ADAPTER_BINDING_INFO { ULONG AddressCount; DWORD RemoteAddress; @@ -50,10 +54,6 @@ typedef struct IP_ADAPTER_BINDING_INFO { ULONGLONG Speed; IP_LOCAL_BINDING Address[]; } IP_ADAPTER_BINDING_INFO,*PIP_ADAPTER_BINDING_INFO; -typedef struct IP_LOCAL_BINDING { - DWORD Address; - DWORD Mask; -} IP_LOCAL_BINDING,*PIP_LOCAL_BINDING; typedef struct IPX_ADAPTER_BINDING_INFO { ULONG AdapterIndex; UCHAR Network[4];