summaryrefslogtreecommitdiff
path: root/src/common/console.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/console.h')
-rw-r--r--src/common/console.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/console.h b/src/common/console.h
index ffb4a165b..35a83da52 100644
--- a/src/common/console.h
+++ b/src/common/console.h
@@ -5,6 +5,7 @@
#define COMMON_CONSOLE_H
#include "common/hercules.h"
+#include "common/db.h"
#include "common/mutex.h"
#include "common/spinlock.h"
#include "common/sql.h"
@@ -51,10 +52,9 @@ struct console_input_interface {
ramutex *ptmutex;/* parse thread mutex */
racond *ptcond;/* parse thread cond */
/* */
- struct CParseEntry **cmd_list;
+ VECTOR_DECL(struct CParseEntry *) command_list;
struct CParseEntry **cmds;
unsigned int cmd_count;
- unsigned int cmd_list_count;
/* */
Sql *SQL;
/* */