From c46134c03adb8f87023ff42757f9758ecbdfe906 Mon Sep 17 00:00:00 2001 From: Antonio SJ Musumeci Date: Tue, 6 Nov 2018 07:59:28 -0500 Subject: [PATCH] fix building on platforms without O_PATH --- src/fs_base_statvfs.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/fs_base_statvfs.hpp b/src/fs_base_statvfs.hpp index 3b815810..b8ee4325 100644 --- a/src/fs_base_statvfs.hpp +++ b/src/fs_base_statvfs.hpp @@ -26,6 +26,10 @@ #include +#ifndef O_PATH +# define O_PATH 0 +#endif + namespace fs { static