From 33c692a255cd3988a83fd46188195746da573136 Mon Sep 17 00:00:00 2001 From: "Darrick J. Wong" Date: Thu, 27 Feb 2020 14:22:19 -0500 Subject: [PATCH] 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 --- libfrog/fsgeom.c | 4 +++- libfrog/linux.c | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) 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; -- 2.50.1