freebsd-src/tools/build
Warner Losh 3c5f0da510 cross-build: Define __*int*_t and include sys/cdefs.h
FreeBSD assumes that sys/types.h includes sys/cdefs.h, so add it here.
FreeBSD also needs __*int*_t defined for software we bootstrap (a lot of
it). GLIBC defines these, but musl does not, so we have to define them
here, even though it looks backwards. There's no good #define to key off
of, so use !defined GLIBC since on Linux defacto there's only two libc
implementations.

Co-authored-by:		Val Packett <val@packett.cool>
Sponsored by:		Netflix
Pull Request:		https://github.com/freebsd/freebsd-src/pull/1066
Reviewed by:		val_packett.cool
Differential Revision:	https://reviews.freebsd.org/D45354
2024-05-26 11:39:18 -06:00
..
bootstrap-m4 Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
cross-build cross-build: Define __*int*_t and include sys/cdefs.h 2024-05-26 11:39:18 -06:00
libc-bootstrap Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
make_check make_check: Deobit fmake support 2024-01-03 12:14:17 -07:00
mk cross-tools: fts has different types for cmp routine 2024-05-26 11:38:30 -06:00
options arm64: Allow userspace to be built with PAC and BTI 2024-05-22 17:02:26 +00:00
test-includes test-includes: Add -ansi to the compile line to catch problems 2023-12-31 23:14:08 -07:00
beinstall.sh beinstall: retire mergemaster support 2024-05-01 19:02:00 -04:00
check-links.sh Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
checkstyle9.pl checkstyle9: Relax sob line requirement 2024-05-04 07:56:36 -06:00
depend-cleanup.sh tools: Remove stray "then" 2024-04-18 08:10:14 -07:00
dummy.c Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:23 -06:00
fcntl.h build: Include sys/cdefs.h in our fcntl.h shim 2024-05-26 11:38:55 -06:00
freebsd-yeet.pl Update freebsd-yeet for mfc 2023-08-21 19:37:20 -06:00
fspacectl.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
futimens.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
make.py tools/build/make.py: Avoid Python 3.7+ subprocess.run capture_output 2024-01-31 19:45:59 +00:00
Makefile build: only inspect the first word of toolchain tools 2024-01-08 22:22:25 -06:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
stat.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
stdlib.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
strings.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
utimensat.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00