22 lines
801 B
Plaintext
22 lines
801 B
Plaintext
$OpenBSD: patch-libs_filesystem_src_operations_cpp,v 1.3 2015/07/01 08:41:59 jasper Exp $
|
|
--- libs/filesystem/src/operations.cpp.orig Fri Jun 26 11:36:34 2015
|
|
+++ libs/filesystem/src/operations.cpp Fri Jun 26 11:37:45 2015
|
|
@@ -71,15 +71,13 @@ using std::wstring;
|
|
|
|
# include <sys/types.h>
|
|
# include <sys/stat.h>
|
|
-# if !defined(__APPLE__) && !defined(__OpenBSD__) && !defined(__ANDROID__) \
|
|
+# if !defined(__APPLE__) && !defined(__ANDROID__) \
|
|
&& !defined(__VXWORKS__)
|
|
# include <sys/statvfs.h>
|
|
# define BOOST_STATVFS statvfs
|
|
# define BOOST_STATVFS_F_FRSIZE vfs.f_frsize
|
|
# else
|
|
-# ifdef __OpenBSD__
|
|
-# include <sys/param.h>
|
|
-# elif defined(__ANDROID__)
|
|
+# if defined(__ANDROID__)
|
|
# include <sys/vfs.h>
|
|
# endif
|
|
# if !defined(__VXWORKS__)
|