--- src/fs_umount2.hpp.orig 2024-02-29 20:41:22 UTC +++ src/fs_umount2.hpp @@ -19,7 +19,14 @@ #pragma once #include +#ifdef __linux__ #include +#else +#include +#include +#define umount2(target, flags) unmount(target, flags) +#define MNT_DETACH 0 +#endif #include