aboutsummaryrefslogtreecommitdiffstats
path: root/example/passthrough.c
diff options
context:
space:
mode:
authorCismonX <admin@cismon.net>2025-07-09 23:30:17 +0800
committerBernd Schubert <bernd@bsbernd.com>2025-07-13 15:22:29 +0200
commit21a27e371fbb44e16eec6ef5e18768b476db2e27 (patch)
tree359a4efefa9ca12f9034b794bfbfd4728364470d /example/passthrough.c
parentdb5a1b6ae9d39614154590e5b8c62702a5230ca4 (diff)
downloadlibfuse-21a27e371fbb44e16eec6ef5e18768b476db2e27.tar.gz
example/passthrough: tidy up passthrough_helpers.h
Add header guards, include system headers as needed, and declare helper functions as inline. This ensures that the helper header could be properly included. Signed-off-by: CismonX <admin@cismon.net>
Diffstat (limited to 'example/passthrough.c')
-rw-r--r--example/passthrough.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/example/passthrough.c b/example/passthrough.c
index 7e5c9aa..f0e686d 100644
--- a/example/passthrough.c
+++ b/example/passthrough.c
@@ -40,10 +40,6 @@
#include <sys/stat.h>
#include <dirent.h>
#include <errno.h>
-#ifdef __FreeBSD__
-#include <sys/socket.h>
-#include <sys/un.h>
-#endif
#include <sys/time.h>
#ifdef HAVE_SETXATTR
#include <sys/xattr.h>