]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
include/path: fix HAVE_STRUCT_STATX use
authorKarel Zak <kzak@redhat.com>
Thu, 26 Feb 2026 10:20:18 +0000 (11:20 +0100)
committerKarel Zak <kzak@redhat.com>
Thu, 26 Feb 2026 10:51:38 +0000 (11:51 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
include/path.h

index 60a6162df518052bcfe904f750594d7c8dbb4782..84bd42c6d36fdc4dbcb05ee01e3647e6b3138aff 100644 (file)
@@ -58,9 +58,9 @@ int ul_path_vstatf(struct path_cxt *pc, struct stat *sb, int flags, const char *
 int ul_path_statf(struct path_cxt *pc, struct stat *sb, int flags, const char *path, ...)
                                __attribute__ ((__format__ (__printf__, 4, 5)));
 
-#ifndef HAVE_STATX_H
+#ifndef HAVE_STRUCT_STATX
 struct statx;
-#endif /* HAVE_STATX_H */
+#endif
 int ul_path_statx(struct path_cxt *pc, struct statx *stx, int flags, unsigned int mask,
                  const char *path);
 int ul_path_vstatxf(struct path_cxt *pc, struct statx *stx, int flags, unsigned int mask,