summaryrefslogtreecommitdiffstats
path: root/src/mon/DataHealthService.cc
diff options
context:
space:
mode:
authorNoah Watkins <noahwatkins@gmail.com>2013-09-27 16:38:11 +0200
committerNoah Watkins <noahwatkins@gmail.com>2013-12-07 19:24:20 +0100
commit43c1676778ba0e9a66da0b6bab7b2a75a2d02e59 (patch)
tree12c8bdaf46468051fc0572962940327ba13a5408 /src/mon/DataHealthService.cc
parentmake: increase maximum template recursion depth (diff)
downloadceph-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.cc5
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"