From 2ebe6d5a025dc9762db2b1854d966639e1920e60 Mon Sep 17 00:00:00 2001 From: Aaron Dierking Date: Thu, 14 Jun 2018 11:38:32 -0700 Subject: [PATCH] Windows support for inet_net_pton() Signed-off-by: Guillem Jover --- src/inet_net_pton.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/inet_net_pton.c b/src/inet_net_pton.c index 4614248..c3d882b 100644 --- a/src/inet_net_pton.c +++ b/src/inet_net_pton.c @@ -19,9 +19,14 @@ #include #include +#ifdef _WIN32 +#define WIN32_LEAN_AND_MEAN +#include +#else #include #include #include +#endif #include #include