From 1ed5f84a79bba85ef921c931a3875a112f15c38b Mon Sep 17 00:00:00 2001 From: Andy Guan Date: Mon, 2 Dec 2019 00:28:41 -0500 Subject: Added the missed macro definition in slowlog.h --- src/slowlog.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/slowlog.h') diff --git a/src/slowlog.h b/src/slowlog.h index 655fb25f4..50e543891 100644 --- a/src/slowlog.h +++ b/src/slowlog.h @@ -27,6 +27,9 @@ * POSSIBILITY OF SUCH DAMAGE. */ +#ifndef __SLOWLOG_H__ +#define __SLOWLOG_H__ + #define SLOWLOG_ENTRY_MAX_ARGC 32 #define SLOWLOG_ENTRY_MAX_STRING 128 @@ -47,3 +50,5 @@ void slowlogPushEntryIfNeeded(client *c, robj **argv, int argc, long long durati /* Exported commands */ void slowlogCommand(client *c); + +#endif /* __SLOWLOG_H__ */ -- cgit v1.2.1