mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-11-07 04:36:52 -10:00
The <machine/ieeefp.h> headers wrap their deprecated FPU control prototypes in __BEGIN_DECLS/__END_DECLS but rely on the includer to have pulled in <sys/cdefs.h>. Including <floatingpoint.h> first on arm, arm64, powerpc and riscv (or amd64 <machine/ieeefp.h> with __IEEEFP_NOINLINES__) fails with "unknown type name '__BEGIN_DECLS'". This breaks e.g. devel/py-pyinstaller. Suggested by: jhb Reviewed by: jhb MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D59659 (cherry picked from commit9d50245a0f) (cherry picked from commit252500da3a)