]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
common/blkdev: should include "blkdev.h"
authorKefu Chai <kchai@redhat.com>
Sat, 11 Nov 2017 03:07:02 +0000 (11:07 +0800)
committerKefu Chai <kchai@redhat.com>
Sat, 11 Nov 2017 03:09:31 +0000 (11:09 +0800)
otherwise `string` and `set` are not declared.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/common/blkdev.cc

index c71a05bd2b47d0124b588ad821e94b2ca88e9bee..fa518e2f18a1a0ba18e5d0679040c86eb52682ae 100644 (file)
@@ -15,6 +15,9 @@
 #include <sys/stat.h>
 #include <dirent.h>
 #include "include/uuid.h"
+#include "blkdev.h"
+
+using namespace std;
 
 #ifdef __linux__
 #include <linux/fs.h>