From 2223bc5041b80a4104876f762e0222d13beb345c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Katzer?= <katzer@users.noreply.github.com> Date: Wed, 29 Aug 2018 13:29:07 +0200 Subject: [PATCH] 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 --- lib/core/libwebsockets.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core/libwebsockets.c b/lib/core/libwebsockets.c index 1d9c4bdc..2bcd015e 100644 --- a/lib/core/libwebsockets.c +++ b/lib/core/libwebsockets.c @@ -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 -- GitLab