From 1a9b8a6122a43c375bbdc0f971edb002b2be9716 Mon Sep 17 00:00:00 2001 From: Amaury Denoyelle Date: Thu, 7 Oct 2021 16:37:42 +0200 Subject: [PATCH] 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. --- include/haproxy/task.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/haproxy/task.h b/include/haproxy/task.h index 011ca319b..e2c8a9909 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.