1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

Fix Iphlpapi.h -> iphlpapi.h

If you cross compile for Windows you will get an error otherwise that the header cannot be found.
See here for code example from microsoft: https://docs.microsoft.com/en-us/windows/desktop/iphlp/creating-a-basic-ip-helper-application
This commit is contained in:
Sebastián Katzer 2018-08-30 05:41:18 +08:00 committed by Andy Green
parent 2950cf14bb
commit 1fa0d496bb

View file

@ -28,7 +28,7 @@
#ifdef LWS_WITH_IPV6
#if defined(WIN32) || defined(_WIN32)
#include <wincrypt.h>
#include <Iphlpapi.h>
#include <iphlpapi.h>
#else
#include <net/if.h>
#endif