]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
test/mon: no need to include OSD.h 23643/head
authorKefu Chai <kchai@redhat.com>
Mon, 20 Aug 2018 17:00:58 +0000 (01:00 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 22 Aug 2018 02:20:51 +0000 (10:20 +0800)
what it needs is the definition of `struct statfs`.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/test/mon/test_mon_workloadgen.cc

index 2f976a4e1323b36f3e051bc59bf0f091222f271b..41751e9e6e470365ec23114eaaa3a4a949c422c9 100644 (file)
 #include <sys/param.h>
 #endif
 
+#ifdef HAVE_SYS_VFS_H
+#include <sys/vfs.h>
+#endif
+
 #include <iostream>
 #include <string>
 #include <map>
@@ -31,7 +35,6 @@
 
 
 #include "osd/osd_types.h"
-#include "osd/OSD.h"
 #include "osdc/Objecter.h"
 #include "mon/MonClient.h"
 #include "msg/Dispatcher.h"