mirror of
https://github.com/curl/curl.git
synced 2026-04-15 00:41:41 +03:00
easy: fix the #include order
The mentioned "last 3 includes" order should be respected. easy_lock.h should be included before those three. Reported-by: Yuriy Chernyshov Fixes #9560 Closes #9561
This commit is contained in:
parent
fd1ce3d4b0
commit
1998f34d54
1 changed files with 2 additions and 1 deletions
|
|
@ -82,11 +82,12 @@
|
|||
#include "altsvc.h"
|
||||
#include "hsts.h"
|
||||
|
||||
#include "easy_lock.h"
|
||||
|
||||
/* The last 3 #include files should be in this order */
|
||||
#include "curl_printf.h"
|
||||
#include "curl_memory.h"
|
||||
#include "memdebug.h"
|
||||
#include "easy_lock.h"
|
||||
|
||||
/* true globals -- for curl_global_init() and curl_global_cleanup() */
|
||||
static unsigned int initialized;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue