From c800043112a873a0fab1c5df2c76a958a2b012e7 Mon Sep 17 00:00:00 2001 From: Luis Lavena Date: Mon, 6 Feb 2012 19:15:03 -0300 Subject: [PATCH] Add missing IPV6_HOPLIMIT definition for MinGW Closes GH-307 --- src/win/winsock.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/win/winsock.h b/src/win/winsock.h index 433ce476..954ad5ce 100644 --- a/src/win/winsock.h +++ b/src/win/winsock.h @@ -45,6 +45,10 @@ #define IPV6_V6ONLY 27 #endif +#ifndef IPV6_HOPLIMIT + #define IPV6_HOPLIMIT 21 +#endif + /* * TDI defines that are only in the DDK. * We only need receive flags so far.