From: Khem Raj Date: Sun, 20 Oct 2024 14:52:33 +0000 (-0700) Subject: Include linux/types.h for __u16/__u32/__u64 type X-Git-Tag: v0.12.0~23^2~1 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=d103eaeae169708ca567f092182a89b79e5ab9db;p=thirdparty%2Fsnapper.git Include linux/types.h for __u16/__u32/__u64 type This header is included indirectly with glibc but when using musl it ends up with compilation failure BcachefsUtils.cc:85:20: error: use of undeclared identifier '__u32' 85 | args.dirfd = (__u32) fddst; | ^ --- diff --git a/snapper/BcachefsUtils.cc b/snapper/BcachefsUtils.cc index e9163ffb..1d328a78 100644 --- a/snapper/BcachefsUtils.cc +++ b/snapper/BcachefsUtils.cc @@ -24,6 +24,7 @@ #include #include +#include #include #include