summaryrefslogtreecommitdiffstats
path: root/freebsd/sys/sys/blist.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--freebsd/sys/sys/blist.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/freebsd/sys/sys/blist.h b/freebsd/sys/sys/blist.h
index 595d3477..1e6deb52 100644
--- a/freebsd/sys/sys/blist.h
+++ b/freebsd/sys/sys/blist.h
@@ -58,7 +58,11 @@
#ifndef _SYS_BLIST_H_
#define _SYS_BLIST_H_
+#ifndef __rtems__
typedef uint64_t u_daddr_t; /* unsigned disk address */
+#else /* __rtems__ */
+typedef unsigned long u_daddr_t; /* unsigned disk address */
+#endif /* __rtems__ */
/*
* note: currently use SWAPBLK_NONE as an absolute value rather then