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,