From 82bb43eed392ba79d34b407c78abf78372335343 Mon Sep 17 00:00:00 2001 From: Erik Larsson Date: Fri, 13 Mar 2015 08:59:20 +0100 Subject: [PATCH] ntfsclone.c: Compile fix for OS X. OS X keeps the statfs declarations in sys/mount.h. --- ntfsprogs/ntfsclone.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ntfsprogs/ntfsclone.c b/ntfsprogs/ntfsclone.c index 3711702a..1504c252 100644 --- a/ntfsprogs/ntfsclone.c +++ b/ntfsprogs/ntfsclone.c @@ -61,6 +61,9 @@ #ifdef HAVE_UNISTD_H #include #endif +#ifdef HAVE_SYS_MOUNT_H +#include +#endif /* * FIXME: ntfsclone do bad things about endians handling. Fix it and remove