From a0244c536ecd5307316ae0cfcc74ba9602438d3b Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Thu, 19 Feb 2026 01:00:20 +0100 Subject: [PATCH] inet_pton: scope an include Closes #20661 --- lib/curlx/inet_pton.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/curlx/inet_pton.c b/lib/curlx/inet_pton.c index 1767bf19af..41a84a4e54 100644 --- a/lib/curlx/inet_pton.c +++ b/lib/curlx/inet_pton.c @@ -19,8 +19,6 @@ */ #include "../curl_setup.h" -#include "strparse.h" - #ifndef HAVE_INET_PTON #ifdef HAVE_SYS_PARAM_H @@ -34,6 +32,7 @@ #endif #include "inet_pton.h" +#include "strparse.h" #define IN6ADDRSZ 16 #define INADDRSZ 4