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:
Daniel Stenberg 2026-05-05 11:37:03 +02:00
parent 03b547f73f
commit 484f724a30
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2

View file

@ -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 */