Commit 9ce8fe8f authored by Pieter Hintjens's avatar Pieter Hintjens

Merge pull request #1674 from GreatFruitOmsk/master

Add missing header for the if_nametoindex on Windows.
parents 066ff133 b76ccb8b
...@@ -50,10 +50,11 @@ ...@@ -50,10 +50,11 @@
#define _WIN32_WINNT 0x0501 #define _WIN32_WINNT 0x0501
#endif #endif
#endif #endif
#include <winsock2.h> #include <winsock2.h>
#include <windows.h> #include <windows.h>
#include <mswsock.h> #include <mswsock.h>
#include <iphlpapi.h>
#if !defined __MINGW32__ #if !defined __MINGW32__
#include <Mstcpip.h> #include <Mstcpip.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment