--- parted-3.3.orig/libparted/fs/xfs/platform_defs.h	2019-10-11 00:58:51.000000000 +0200
+++ parted-3.3/libparted/fs/xfs/platform_defs.h	2020-06-06 20:12:43.000000000 +0200
@@ -52,7 +52,7 @@
 # define constpp	char * const *
 #endif
 
-typedef loff_t		xfs_off_t;
+typedef off_t		xfs_off_t;
 typedef uint64_t	xfs_ino_t;
 typedef uint32_t	xfs_dev_t;
 typedef int64_t         xfs_daddr_t;
