mirror of
https://github.com/ceph/ceph
synced 2025-01-19 17:41:39 +00:00
cmonctl: fix compile error
This commit is contained in:
parent
f309afde19
commit
44b8c2f42b
@ -35,6 +35,12 @@ using namespace std;
|
||||
#include <sys/stat.h>
|
||||
#include <fcntl.h>
|
||||
|
||||
extern "C" {
|
||||
#include <histedit.h>
|
||||
}
|
||||
|
||||
|
||||
|
||||
Mutex lock("cmonctl.cc lock");
|
||||
Cond cond;
|
||||
|
||||
@ -214,9 +220,6 @@ void usage()
|
||||
}
|
||||
|
||||
|
||||
#include <histedit.h>
|
||||
|
||||
|
||||
const char *cli_prompt(EditLine *e) {
|
||||
return "monctl> ";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user