]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
include/mount-api-utils: use standard uint64_t
authorKarel Zak <kzak@redhat.com>
Tue, 20 Sep 2022 11:40:56 +0000 (13:40 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 3 Jan 2023 11:58:42 +0000 (12:58 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
include/mount-api-utils.h

index 98d9233ff14d6ece373e2adac2ce21e2d2daf76b..db2df949db4686efaafbf4f6111ce0b4c6fef20f 100644 (file)
@@ -99,12 +99,12 @@ static inline int move_mount(int from_dfd, const char *from_pathname, int to_dfd
 #endif
 
 #ifndef HAVE_STRUCT_MOUNT_ATTR
-# include <linux/types.h>
+# include <inttypes.h>
 struct mount_attr {
-       __u64 attr_set;
-       __u64 attr_clr;
-       __u64 propagation;
-       __u64 userns_fd;
+       uint64_t attr_set;
+       uint64_t attr_clr;
+       uint64_t propagation;
+       uint64_t userns_fd;
 };
 #endif