From: Darrick J. Wong Date: Thu, 27 Feb 2020 19:22:19 +0000 (-0500) Subject: libfrog: remove libxfs.h dependencies in fsgeom.c and linux.c X-Git-Tag: v5.5.0-rc1~49 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=33c692a255cd3988a83fd46188195746da573136;p=thirdparty%2Fxfsprogs-dev.git libfrog: remove libxfs.h dependencies in fsgeom.c and linux.c libfrog isn't supposed to depend on libxfs, so don't include the header file in the libfrog source code. Signed-off-by: Darrick J. Wong Reviewed-by: Eric Sandeen Reviewed-by: Allison Collins Reviewed-by: Christoph Hellwig Signed-off-by: Eric Sandeen --- diff --git a/libfrog/fsgeom.c b/libfrog/fsgeom.c index 19a4911fc..bd93924ea 100644 --- a/libfrog/fsgeom.c +++ b/libfrog/fsgeom.c @@ -2,7 +2,9 @@ /* * Copyright (c) 2000-2005 Silicon Graphics, Inc. All Rights Reserved. */ -#include "libxfs.h" +#include "platform_defs.h" +#include "xfs.h" +#include "bitops.h" #include "fsgeom.h" #include "util.h" diff --git a/libfrog/linux.c b/libfrog/linux.c index 79bd79eb9..41a168b47 100644 --- a/libfrog/linux.c +++ b/libfrog/linux.c @@ -9,8 +9,8 @@ #include #include -#include "libxfs_priv.h" -#include "xfs_fs.h" +#include "platform_defs.h" +#include "xfs.h" #include "init.h" extern char *progname;