diff options
author | Daniel Stenberg <daniel@haxx.se> | 2020-12-11 09:05:47 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2020-12-11 17:42:17 +0100 |
commit | 769a4687dfc65f953daf70a210babad438a0cf17 (patch) | |
tree | 60e14135b3f71e0c1907e26ec2b6b53408a63a2b | |
parent | 6cd066f64b9165c1b1f3243844ea32b1f1ba42f5 (diff) | |
download | curl-769a4687dfc65f953daf70a210babad438a0cf17.tar.gz |
tests/server/disabled: add "wakeup"
To allow the test suite to know if wakeup support is disabled in the
build.
-rw-r--r-- | lib/conncache.h | 4 | ||||
-rw-r--r-- | lib/multihandle.h | 4 | ||||
-rw-r--r-- | tests/server/disabled.c | 4 |
3 files changed, 12 insertions, 0 deletions
diff --git a/lib/conncache.h b/lib/conncache.h index ac5460ff4..7b7ba1205 100644 --- a/lib/conncache.h +++ b/lib/conncache.h @@ -29,6 +29,10 @@ * be shared. */ +#include "timeval.h" + +struct connectdata; + struct conncache { struct Curl_hash hash; size_t num_conn; diff --git a/lib/multihandle.h b/lib/multihandle.h index de4f74069..aa9ca4bcd 100644 --- a/lib/multihandle.h +++ b/lib/multihandle.h @@ -22,10 +22,14 @@ * ***************************************************************************/ +#include "llist.h" +#include "hash.h" #include "conncache.h" #include "psl.h" #include "socketpair.h" +struct connectdata; + struct Curl_message { struct Curl_llist_element list; /* the 'CURLMsg' is the part that is visible to the external user */ diff --git a/tests/server/disabled.c b/tests/server/disabled.c index 0e862177d..6f7c10f18 100644 --- a/tests/server/disabled.c +++ b/tests/server/disabled.c @@ -30,6 +30,7 @@ */ #include "curl_setup.h" +#include "multihandle.h" /* for ENABLE_WAKEUP */ #include <stdio.h> static const char *disabled[]={ @@ -66,6 +67,9 @@ static const char *disabled[]={ #ifdef CURL_DISABLE_VERBOSE_STRINGS "verbose-strings", #endif +#ifndef ENABLE_WAKEUP + "wakeup", +#endif NULL }; |