From: Kefu Chai Date: Mon, 20 Aug 2018 17:00:58 +0000 (+0800) Subject: test/mon: no need to include OSD.h X-Git-Tag: v14.0.1~517^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F23643%2Fhead;p=ceph.git test/mon: no need to include OSD.h what it needs is the definition of `struct statfs`. Signed-off-by: Kefu Chai --- diff --git a/src/test/mon/test_mon_workloadgen.cc b/src/test/mon/test_mon_workloadgen.cc index 2f976a4e132..41751e9e6e4 100644 --- a/src/test/mon/test_mon_workloadgen.cc +++ b/src/test/mon/test_mon_workloadgen.cc @@ -21,6 +21,10 @@ #include #endif +#ifdef HAVE_SYS_VFS_H +#include +#endif + #include #include #include @@ -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"