]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
tests/server/disabled: add "wakeup"
authorDaniel Stenberg <daniel@haxx.se>
Fri, 11 Dec 2020 08:05:47 +0000 (09:05 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 11 Dec 2020 16:42:17 +0000 (17:42 +0100)
To allow the test suite to know if wakeup support is disabled in the
build.

lib/conncache.h
lib/multihandle.h
tests/server/disabled.c

index ac5460ff4bbca967f487e670e3775b585dd97f4d..7b7ba1205dbf72ecb2db4580dd9dd5eb3e38a231 100644 (file)
  * be shared.
  */
 
+#include "timeval.h"
+
+struct connectdata;
+
 struct conncache {
   struct Curl_hash hash;
   size_t num_conn;
index de4f74069e512348caa5fa6c692093430b46a50e..aa9ca4bcd2925e98c7afffec88ef49216c229b29 100644 (file)
  *
  ***************************************************************************/
 
+#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 */
index 0e862177d5e80fc230b1e39ee7a20acce356504f..6f7c10f18033b41ccfc048dbeed3c7dc06c4c81f 100644 (file)
@@ -30,6 +30,7 @@
  */
 
 #include "curl_setup.h"
+#include "multihandle.h" /* for ENABLE_WAKEUP */
 #include <stdio.h>
 
 static const char *disabled[]={
@@ -65,6 +66,9 @@ static const char *disabled[]={
 #endif
 #ifdef CURL_DISABLE_VERBOSE_STRINGS
   "verbose-strings",
+#endif
+#ifndef ENABLE_WAKEUP
+  "wakeup",
 #endif
   NULL
 };