From: Amaury Denoyelle Date: Thu, 7 Oct 2021 14:37:42 +0000 (+0200) Subject: BUG/MINOR: task: fix missing include with DEBUG_TASK X-Git-Tag: v2.5-dev9~46 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1a9b8a6122a43c375bbdc0f971edb002b2be9716;p=thirdparty%2Fhaproxy.git BUG/MINOR: task: fix missing include with DEBUG_TASK Following include reorganzation, there is some missing include files for task.h when compiling with DEBUG_TASK : - activity.h for task_profiling_mask - time.h for now_mono_time() This is present since the following commit d8b325c74826bdb02759f62c41a00455dbae3431 REORG: task: uninline the loop time measurement code No need to backport this. --- diff --git a/include/haproxy/task.h b/include/haproxy/task.h index 011ca319b2..e2c8a9909e 100644 --- a/include/haproxy/task.h +++ b/include/haproxy/task.h @@ -28,6 +28,7 @@ #include #include +#include #include #include #include @@ -37,6 +38,7 @@ #include #include #include +#include /* Principle of the wait queue.