tools.build: also add sys/_visible.h to SYSINCS

This is needed since sys/cdefs.h includes sys/_visible.h.

Reported by:	kib
Fixes:		1c9ff80f06
MFC after:	3 days
This commit is contained in:
Dimitry Andric
2025-12-27 00:07:53 +01:00
parent 939ac0c8fd
commit 086bedb11a
+1
View File
@@ -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)