aboutsummaryrefslogtreecommitdiff
path: root/tools/build
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2025-12-26 15:26:13 +0000
committerDimitry Andric <dim@FreeBSD.org>2025-12-26 15:26:13 +0000
commit1c9ff80f06350fa44b7e50ce09ad665ab0082abb (patch)
tree5bface540b97204170f0936862220cb6c5d6e955 /tools/build
parent66604463e737f4754ae6268171031ceefc226837 (diff)
Diffstat (limited to 'tools/build')
-rw-r--r--tools/build/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/build/Makefile b/tools/build/Makefile
index a701c12a9b5c..2c6237c4dd7d 100644
--- a/tools/build/Makefile
+++ b/tools/build/Makefile
@@ -351,6 +351,10 @@ MSDOSFSINCS+= ${SRCTOP}/sys/fs/msdosfs/fat.h
MSDOSFSINCS+= ${SRCTOP}/sys/fs/msdosfs/msdosfsmount.h
DISKINCS+= ${SRCTOP}/sys/sys/disk/bsd.h
+# Needed to build most of the things below, which include sys/cdefs.h either
+# directly or transitively
+SYSINCS+= ${SRCTOP}/sys/sys/cdefs.h
+
# Needed to build config (since it uses libnv)
SYSINCS+= ${SRCTOP}/sys/sys/_nv.h
SYSINCS+= ${SRCTOP}/sys/sys/nv.h ${SRCTOP}/sys/sys/cnv.h \