Skip to content

Fix compile on some platforms

Morgan Adamiec requested to merge morganamilo/statfs into master

Controlling the type of getmntinfo's param was decided by whether or not we had the statvfs type avaliable. But getmntinfo uses statfs regardless of this except on netbsd where it uses statvfs.

Add a check to detect which type our version of the function uses.

Merge request reports