aboutsummaryrefslogtreecommitdiff
path: root/tools/build/cross-build/include/linux/sys/stat.h
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/linux/sys/stat.h
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/linux/sys/stat.h')
-rw-r--r--tools/build/cross-build/include/linux/sys/stat.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/build/cross-build/include/linux/sys/stat.h b/tools/build/cross-build/include/linux/sys/stat.h
index 04f8dc19e468..72c6bb950ce9 100644
--- a/tools/build/cross-build/include/linux/sys/stat.h
+++ b/tools/build/cross-build/include/linux/sys/stat.h
@@ -59,3 +59,6 @@
#ifndef S_ISTXT
#define S_ISTXT S_ISVTX
#endif
+
+/* This include is needed for OpenZFS bootstrap */
+#include <sys/mount.h>