mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-10-29 11:54:38 +01:00
tools.build: add sys/cdefs.h to SYSINCS, since lots of other headers use it
This is needed to let the legacy stage compile against newer versions of
sys/font.h, which transitively includes sys/cdefs.h, and requires the
new __nonstring macro from it.
Fixes: e2c93ed09f
MFC after: 3 days
This commit is contained in:
1 parent
66604463e7
commit
1c9ff80f06
1 file changed
+4
@@ -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 \
|
||||
|
||||
Reference in new issue
Block a user