aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2025-12-26 23:07:53 +0000
committerDimitry Andric <dim@FreeBSD.org>2025-12-26 23:11:17 +0000
commit086bedb11a853801e82234b8a1a64f0df52d9e52 (patch)
treed8baf7031a4fe1cbfcadb2c75ddcc618257033d6
parent939ac0c8fde22a4ad9cb9bfb5d94f29cad6ea040 (diff)
tools.build: also add sys/_visible.h to SYSINCS
This is needed since sys/cdefs.h includes sys/_visible.h. Reported by: kib Fixes: 1c9ff80f0635 MFC after: 3 days
-rw-r--r--tools/build/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/build/Makefile b/tools/build/Makefile
index 2c6237c4dd7d..8017d776fd55 100644
--- a/tools/build/Makefile
+++ b/tools/build/Makefile
@@ -353,6 +353,7 @@ 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/_visible.h
SYSINCS+= ${SRCTOP}/sys/sys/cdefs.h
# Needed to build config (since it uses libnv)