]> git.hungrycats.org Git - bees/commitdiff
openat2: #include <linux/types.h> so we can know `__u64`
authorZygo Blaxell <bees@furryterror.org>
Mon, 20 Jan 2025 22:00:48 +0000 (17:00 -0500)
committerZygo Blaxell <bees@furryterror.org>
Mon, 20 Jan 2025 22:02:19 +0000 (17:02 -0500)
Alternative implementations could use `uint64_t` instead, from `cstdint`.

Signed-off-by: Zygo Blaxell <bees@furryterror.org>
include/crucible/openat2.h

index 8d353508c1c44c41fb5e78295b9a934945acd5fd..c4081185dbbe3e333714308d0ef1bcc39c995c07 100644 (file)
@@ -12,6 +12,8 @@
 
 #else
 
+#include <linux/types.h>
+
 #ifndef RESOLVE_NO_XDEV
 #define RESOLVE_NO_XDEV 1