]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
hostip: move easy_lock.h include above curl_memory.h
authorColin Cross <ccross@android.com>
Thu, 18 May 2023 17:54:09 +0000 (10:54 -0700)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 18 May 2023 18:50:22 +0000 (20:50 +0200)
Similar to #9561, move easy_lock.h above curl_memory.h to fix building
against musl libc.

Closes #11140

lib/hostip.c

index 4a02f4bcba8493e327eac882b93982d3ffbec814..974884b2e34904a81702bfe9dec900db71884432 100644 (file)
@@ -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 <SystemConfiguration/SCDynamicStoreCopySpecific.h>
 #endif
 
-#include "easy_lock.h"
-
 #if defined(CURLRES_SYNCH) &&                   \
   defined(HAVE_ALARM) &&                        \
   defined(SIGALRM) &&                           \