--- parted-3.1.orig/libparted/fs/xfs/platform_defs.h	2012-01-12 17:38:40.000000000 +0100
+++ parted-3.1/libparted/fs/xfs/platform_defs.h	2013-12-25 20:53:13.000000000 +0100
@@ -51,7 +51,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;
