From 251d2fb0e15316a479cb16476d880d432da62fb6 Mon Sep 17 00:00:00 2001 From: Bernd Schubert Date: Mon, 27 May 2024 15:24:10 +0200 Subject: [PATCH] Remove most includes in compat.c (#954) compat.c is supposed to be standalone to provide compat ABI symbols. Including fuse header files can cause conflicts - just the opposite of what compat.c was made for. --- lib/compat.c | 21 ++++++--------------- 1 file changed, 6 insertions(+), 15 deletions(-) diff --git a/lib/compat.c b/lib/compat.c index 0bac39e..17febac 100644 --- a/lib/compat.c +++ b/lib/compat.c @@ -15,21 +15,12 @@ support version symboling */ -#include "fuse_config.h" -#include "fuse_i.h" -#include "fuse_misc.h" -#include "fuse_opt.h" -#include "fuse_lowlevel.h" -#include "mount_util.h" - -#include -#include -#include -#include -#include -#include -#include -#include +#include "libfuse_config.h" + +struct fuse_args; +struct fuse_cmdline_opts; +struct fuse_cmdline_opts; + /** * Compatibility ABI symbol for systems that do not support version symboling -- 2.30.2