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.
This commit is contained in:
Bernd Schubert 2024-05-27 15:24:10 +02:00 committed by GitHub
parent 05becec65d
commit 251d2fb0e1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 "libfuse_config.h"
struct fuse_args;
struct fuse_cmdline_opts;
struct fuse_cmdline_opts;
#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>
/**
* Compatibility ABI symbol for systems that do not support version symboling