From 65e9c0ad92a316e36efbc584b72b96a7eb8fa9db Mon Sep 17 00:00:00 2001 From: Ron Yorston Date: Fri, 3 Nov 2017 14:29:57 +0000 Subject: win32: define statvfs as statfs df now uses statvfs instead of statfs. Support this by pretending that statfs *is* statvfs. Not really true but good enough for the present purpose. --- win32/statfs.c | 2 +- win32/sys/statvfs.h | 3 +++ win32/sys/vfs.h | 1 - 3 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 win32/sys/statvfs.h delete mode 100644 win32/sys/vfs.h diff --git a/win32/statfs.c b/win32/statfs.c index a35c9adea..4e5e4612d 100644 --- a/win32/statfs.c +++ b/win32/statfs.c @@ -1,4 +1,4 @@ -#include +#include #include "libbb.h" /* diff --git a/win32/sys/statvfs.h b/win32/sys/statvfs.h new file mode 100644 index 000000000..ceb9ee353 --- /dev/null +++ b/win32/sys/statvfs.h @@ -0,0 +1,3 @@ +#include + +#define statvfs statfs diff --git a/win32/sys/vfs.h b/win32/sys/vfs.h deleted file mode 100644 index a899db276..000000000 --- a/win32/sys/vfs.h +++ /dev/null @@ -1 +0,0 @@ -#include -- cgit v1.2.3-55-g6feb