[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:
parent
2559f64f5a
commit
4e1d8e1721
@ -38,8 +38,6 @@
|
||||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
|
||||
#include "server.h"
|
||||
#include "slowlog.h"
|
||||
|
||||
/* Create a new slowlog entry.
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user