diff options
author | Noah Watkins <noahwatkins@gmail.com> | 2013-09-27 16:38:11 +0200 |
---|---|---|
committer | Noah Watkins <noahwatkins@gmail.com> | 2013-12-07 19:24:20 +0100 |
commit | 43c1676778ba0e9a66da0b6bab7b2a75a2d02e59 (patch) | |
tree | 12c8bdaf46468051fc0572962940327ba13a5408 /src/mon/DataHealthService.cc | |
parent | make: increase maximum template recursion depth (diff) | |
download | ceph-43c1676778ba0e9a66da0b6bab7b2a75a2d02e59.tar.xz ceph-43c1676778ba0e9a66da0b6bab7b2a75a2d02e59.zip |
mon: check for sys/vfs.h existence
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
Diffstat (limited to 'src/mon/DataHealthService.cc')
-rw-r--r-- | src/mon/DataHealthService.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mon/DataHealthService.cc b/src/mon/DataHealthService.cc index be26ac3d83c..db6032dce5e 100644 --- a/src/mon/DataHealthService.cc +++ b/src/mon/DataHealthService.cc @@ -18,7 +18,12 @@ #include <list> #include <string> #include <sstream> + +#include "acconfig.h" + +#ifdef HAVE_SYS_VFS_H #include <sys/vfs.h> +#endif #include "messages/MMonHealth.h" #include "include/types.h" |