From f894a52c65b9ab74b213901689239cf61f0d6d0b Mon Sep 17 00:00:00 2001 From: "chentianjie.ctj" Date: Fri, 10 May 2024 17:48:28 +0800 Subject: [PATCH] Restore changes made by #465 but missed in merging. Signed-off-by: chentianjie.ctj --- src/heavyloadlog.c | 2 -- src/heavyloadlog.h | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/heavyloadlog.c b/src/heavyloadlog.c index 82f28147e3..3feb7de81f 100644 --- a/src/heavyloadlog.c +++ b/src/heavyloadlog.c @@ -45,8 +45,6 @@ * POSSIBILITY OF SUCH DAMAGE. */ - -#include "server.h" #include "heavyloadlog.h" /* Create a new slowlog entry. diff --git a/src/heavyloadlog.h b/src/heavyloadlog.h index 0ce916d23d..69a1ecf98c 100644 --- a/src/heavyloadlog.h +++ b/src/heavyloadlog.h @@ -30,6 +30,8 @@ #ifndef __HEAVY_LOAD_LOG_H__ #define __HEAVY_LOAD_LOG_H__ +#include "server.h" + #define HEAVYLOAD_LOG_ENTRY_MAX_ARGC 32 #define HEAVYLOAD_LOG_ENTRY_MAX_STRING 128