Signed-off-by: Alistair Leslie-Hughes leslie_alistair@hotmail.com --- include/ws2ipdef.h | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/include/ws2ipdef.h b/include/ws2ipdef.h index 52c80c552e1..4cae361e5fe 100644 --- a/include/ws2ipdef.h +++ b/include/ws2ipdef.h @@ -280,6 +280,8 @@ typedef struct WS(in_pktinfo) { #define WS_IN6ADDR_LOOPBACK_INIT { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1 } #endif /* USE_WS_PREFIX */
+#define SS_PORT(ssp) (((PSOCKADDR_IN)(ssp))->sin_port) + #ifdef __cplusplus extern "C" { #endif