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
This commit is contained in:
Colin Cross 2023-05-18 10:54:09 -07:00 committed by Daniel Stenberg
parent de522c55ba
commit e743425bc6
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2

View 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) && \