Index: libs/filesystem/v2/src/v2_operations.cpp =================================================================== --- libs/filesystem/v2/src/v2_operations.cpp (revision 75283) +++ libs/filesystem/v2/src/v2_operations.cpp (working copy) @@ -58,14 +58,11 @@ # else // BOOST_POSIX_API # include -# if !defined(__APPLE__) && !defined(__OpenBSD__) +# ifndef __APPLE__ # include # define BOOST_STATVFS statvfs # define BOOST_STATVFS_F_FRSIZE vfs.f_frsize # else -#ifdef __OpenBSD__ -# include -#endif # include # define BOOST_STATVFS statfs # define BOOST_STATVFS_F_FRSIZE static_cast( vfs.f_bsize ) Index: libs/filesystem/v3/src/operations.cpp =================================================================== --- libs/filesystem/v3/src/operations.cpp (revision 75283) +++ libs/filesystem/v3/src/operations.cpp (working copy) @@ -81,14 +81,11 @@ const fs::path dot_path("."); const fs::path dot_dot_path(".."); # include -# if !defined(__APPLE__) && !defined(__OpenBSD__) +# ifndef __APPLE__ # include # define BOOST_STATVFS statvfs # define BOOST_STATVFS_F_FRSIZE vfs.f_frsize # else -# ifdef __OpenBSD__ -# include -# endif # include # define BOOST_STATVFS statfs # define BOOST_STATVFS_F_FRSIZE static_cast(vfs.f_bsize)