mirror of
https://github.com/curl/curl.git
synced 2026-05-14 05:26:21 +03:00
thrdqueue.h: forward declare curl_thrdq unconditionally
This allows the unit tests to have a prototype involving such a struct
pointer - even when the build is done without threaded resolver.
Follow-up to 117d50b4bf
Closes #21503
This commit is contained in:
parent
03b547f73f
commit
484f724a30
1 changed files with 2 additions and 1 deletions
|
|
@ -26,10 +26,11 @@
|
|||
#include "curl_setup.h"
|
||||
#include "curlx/timediff.h"
|
||||
|
||||
struct curl_thrdq;
|
||||
|
||||
#ifdef USE_THREADS
|
||||
|
||||
struct Curl_easy;
|
||||
struct curl_thrdq;
|
||||
|
||||
typedef enum {
|
||||
CURL_THRDQ_EV_ITEM_DONE /* an item has been processed and is ready */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue