diff options
author | Bernd Schubert <bernd.schubert@fastmail.fm> | 2024-05-27 15:24:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-27 15:24:10 +0200 |
commit | 251d2fb0e15316a479cb16476d880d432da62fb6 (patch) | |
tree | 0ea2c56bf8b78ff1ef141b2a9b0dfd384276fff5 /lib/compat.c | |
parent | 05becec65d7c92cb1ee090934cec5f61dc66c605 (diff) | |
download | libfuse-251d2fb0e15316a479cb16476d880d432da62fb6.tar.gz |
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.
Diffstat (limited to 'lib/compat.c')
-rw-r--r-- | lib/compat.c | 21 |
1 files 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 <stdio.h> -#include <stdlib.h> -#include <stddef.h> -#include <unistd.h> -#include <string.h> -#include <limits.h> -#include <errno.h> -#include <sys/param.h> +#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 |