[Fix] move deps from slowlog.c into slowlog.h (#465)

Move dependency from `slowlog.c` into `slowlog.h`, make sure the
language server can work properly under `slowlog.h`

Signed-off-by: arthur.lee <arthur-lee@qq.com>
This commit is contained in:
Arthur Lee 2024-05-10 05:29:18 +08:00 committed by GitHub
parent 2559f64f5a
commit 4e1d8e1721
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -38,8 +38,6 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include "server.h"
#include "slowlog.h"
/* Create a new slowlog entry.

View File

@ -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