From 0a64fdf30167334d7501fdb965b371271d34fc30 Mon Sep 17 00:00:00 2001 From: chuandew <165128229+chuandew@users.noreply.github.com> Date: Fri, 6 Sep 2024 22:26:53 +0800 Subject: [PATCH] Make periodic_task.h a self-contained header file (#2758) --- src/brpc/periodic_task.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/brpc/periodic_task.h b/src/brpc/periodic_task.h index db97fff80a..88dc739cd9 100644 --- a/src/brpc/periodic_task.h +++ b/src/brpc/periodic_task.h @@ -19,6 +19,8 @@ #ifndef BRPC_PERIODIC_TASK_H #define BRPC_PERIODIC_TASK_H +#include + namespace brpc { // Override OnTriggeringTask() with code that needs to be periodically run. If