]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
os/fs: include <sys/mount.h> on osx
authorKefu Chai <kchai@redhat.com>
Sat, 29 Aug 2015 12:53:40 +0000 (20:53 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 31 Aug 2015 08:00:29 +0000 (16:00 +0800)
Signed-off-by: Kefu Chai <kchai@redhat.com>
src/os/fs/FS.cc

index c7412d657040a859fbe3bddcdee4e6e3be6e1258..78392f6a307677143c9fcebc90ef5f2dc52e1f63 100644 (file)
@@ -14,7 +14,6 @@
 
 #include <errno.h>
 #include <sys/types.h>
-#include <sys/vfs.h>
 #include <sys/stat.h>
 #include <fcntl.h>
 
 #include "XFS.h"
 
 #include "acconfig.h"
+#ifdef DARWIN
+#include <sys/mount.h>
+#else
+#include <sys/vfs.h>
+#endif
+#include "include/compat.h"
 
 // ---------------