git: 97e1430606f8 - main - stand: Add inttype.h

From: Warner Losh <imp_at_FreeBSD.org>
Date: Sat, 07 Jan 2023 01:41:58 UTC
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=97e1430606f8387c03fe6e544005be8dab6a3364

commit 97e1430606f8387c03fe6e544005be8dab6a3364
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2023-01-07 01:37:56 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2023-01-07 01:40:01 +0000

    stand: Add inttype.h
    
    libunwind files need inttype.h. It's safe so add it to the safe list.
    
    Sponsored by:           Netflix
    Reviewed by:            jrtc27, kevans
    Differential Revision:  https://reviews.freebsd.org/D37947
---
 stand/libsa/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/stand/libsa/Makefile b/stand/libsa/Makefile
index 8248c4a1ba74..8ec62f276a09 100644
--- a/stand/libsa/Makefile
+++ b/stand/libsa/Makefile
@@ -112,7 +112,7 @@ CFLAGS.lz4.c+= -I${SRCTOP}/sys/cddl/contrib/opensolaris/common/lz4
 # Create a subset of includes that are safe, as well as adjusting those that aren't
 # The lists may drive people nuts, but they are explicitly opt-in
 FAKE_DIRS=xlocale arpa
-SAFE_INCS=a.out.h assert.h elf.h limits.h nlist.h setjmp.h stddef.h stdbool.h string.h strings.h time.h unistd.h uuid.h
+SAFE_INCS=a.out.h assert.h elf.h inttypes.h limits.h nlist.h setjmp.h stddef.h stdbool.h string.h strings.h time.h unistd.h uuid.h
 STAND_H_INC=ctype.h fcntl.h signal.h stdio.h stdlib.h
 OTHER_INC=stdarg.h errno.h stdint.h