summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/apfs_common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/apfs_common.h b/src/apfs_common.h
index 724c7132..4d058de2 100644
--- a/src/apfs_common.h
+++ b/src/apfs_common.h
@@ -34,7 +34,9 @@ extern "C"
} __attribute__((gcc_struct, __packed__));
typedef struct obj_phys obj_phys_t;
+#if HAVE_PADDR_T == 0
typedef int64_t paddr_t;
+#endif
struct prange {
paddr_t pr_start_paddr;