Message ID | 157671084856.190323.6646004639671192722.stgit@magnolia (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | libfrog: various small fixes | expand |
On 12/18/19 5:14 PM, Darrick J. Wong wrote: > From: Darrick J. Wong <darrick.wong@oracle.com> > > 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 <darrick.wong@oracle.com> swizzle all the headers Reviewed-by: Eric Sandeen <sandeen@redhat.com>
diff --git a/libfrog/fsgeom.c b/libfrog/fsgeom.c index 19a4911f..bd93924e 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 79bd79eb..41a168b4 100644 --- a/libfrog/linux.c +++ b/libfrog/linux.c @@ -9,8 +9,8 @@ #include <sys/ioctl.h> #include <sys/sysinfo.h> -#include "libxfs_priv.h" -#include "xfs_fs.h" +#include "platform_defs.h" +#include "xfs.h" #include "init.h" extern char *progname;