diff --git a/src/slowlog.c b/src/slowlog.c index 9b799985f..978d5f9b8 100644 --- a/src/slowlog.c +++ b/src/slowlog.c @@ -38,8 +38,6 @@ * POSSIBILITY OF SUCH DAMAGE. */ - -#include "server.h" #include "slowlog.h" /* Create a new slowlog entry. diff --git a/src/slowlog.h b/src/slowlog.h index 6a00d1202..2372b9f6e 100644 --- a/src/slowlog.h +++ b/src/slowlog.h @@ -30,6 +30,8 @@ #ifndef __SLOWLOG_H__ #define __SLOWLOG_H__ +#include "server.h" + #define SLOWLOG_ENTRY_MAX_ARGC 32 #define SLOWLOG_ENTRY_MAX_STRING 128