diff options
-rw-r--r-- | winsup/w32api/ChangeLog | 5 | ||||
-rw-r--r-- | 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 <greear@users.sf.net> + + * 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 <keithmarshall@users.sf.net> 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]; |