Skip to content

Commit

Permalink
Remove most includes in compat.c
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
bsbernd committed May 27, 2024
1 parent 05becec commit be0342b
Showing 1 changed file with 6 additions and 15 deletions.
21 changes: 6 additions & 15 deletions lib/compat.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit be0342b

Please sign in to comment.