1
0
mirror of https://github.com/mariadb-corporation/mariadb-connector-c.git synced 2025-08-07 02:42:49 +03:00

Windows build fix:

Added missing include file w2tcpip.h for
freeaddrinfo prototype
This commit is contained in:
Georg Richter
2022-08-03 11:26:57 +02:00
parent 5b4c493f78
commit 9fe6541507

View File

@@ -77,6 +77,7 @@
#include <mysql/client_plugin.h> #include <mysql/client_plugin.h>
#ifdef _WIN32 #ifdef _WIN32
#include "shlwapi.h" #include "shlwapi.h"
#include "ws2tcpip.h"
#define strncasecmp _strnicmp #define strncasecmp _strnicmp
#endif #endif