From 26c0172505ecbe5b3982136e0cef767d29579a7c Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Tue, 21 Aug 2018 01:00:58 +0800 Subject: [PATCH] test/mon: no need to include OSD.h what it needs is the definition of `struct statfs`. Signed-off-by: Kefu Chai --- src/test/mon/test_mon_workloadgen.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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" -- 2.47.3