aboutsummaryrefslogtreecommitdiff
path: root/tools/build/cross-build/include/mac/sys
diff options
context:
space:
mode:
authorAlex Richardson <arichardson@FreeBSD.org>2020-09-19 12:08:16 +0000
committerAlex Richardson <arichardson@FreeBSD.org>2020-09-19 12:08:16 +0000
commit79e02149fcb480c95cfda65e2145ed021dfde5a6 (patch)
tree3defde47c9eb9618bfd33119380455622861342a /tools/build/cross-build/include/mac/sys
parentb8bfffc1b619cca5262f848b665bd56c4de0052b (diff)
downloadsrc-79e02149fcb480c95cfda65e2145ed021dfde5a6.tar.gz
src-79e02149fcb480c95cfda65e2145ed021dfde5a6.zip
Fix dtrace tools bootstrap on non-FreeBSD after OpenZFS import
This required surprisingly few build system changes and only two changes to the openZFS compat headers which have been upstreamed as https://github.com/openzfs/zfs/pull/10863 Reviewed By: #zfs, freqlabs Differential Revision: https://reviews.freebsd.org/D26193
Notes
Notes: svn path=/head/; revision=365901
Diffstat (limited to 'tools/build/cross-build/include/mac/sys')
-rw-r--r--tools/build/cross-build/include/mac/sys/_types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/build/cross-build/include/mac/sys/_types.h b/tools/build/cross-build/include/mac/sys/_types.h
index 9dd6616a59fd..fd14a7836792 100644
--- a/tools/build/cross-build/include/mac/sys/_types.h
+++ b/tools/build/cross-build/include/mac/sys/_types.h
@@ -43,3 +43,5 @@
* __darwin_ct_rune_t exists.
*/
typedef __darwin_ct_rune_t __ct_rune_t;
+/* Needed for opensolaris compat. */
+typedef __int64_t off64_t;