From e743425bc6a33f63cc7f7a2657ef178c7bae19ff Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Thu, 18 May 2023 10:54:09 -0700 Subject: [PATCH] hostip: move easy_lock.h include above curl_memory.h Similar to #9561, move easy_lock.h above curl_memory.h to fix building against musl libc. Closes #11140 --- lib/hostip.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/hostip.c b/lib/hostip.c index 4a02f4bcba..974884b2e3 100644 --- a/lib/hostip.c +++ b/lib/hostip.c @@ -61,6 +61,7 @@ #include "doh.h" #include "warnless.h" #include "strcase.h" +#include "easy_lock.h" /* The last 3 #include files should be in this order */ #include "curl_printf.h" #include "curl_memory.h" @@ -70,8 +71,6 @@ #include #endif -#include "easy_lock.h" - #if defined(CURLRES_SYNCH) && \ defined(HAVE_ALARM) && \ defined(SIGALRM) && \ -- 2.47.3