LibC: Add missing sys/cdefs.h include

Some header files use __BEGIN_DECLS without including sys/cdefs.h.
This causes issues for C code that compiles against these headers,
which may occur with Ports.
This commit is contained in:
Emily Trau 2022-08-16 01:57:43 +10:00 committed by Linus Groh
commit abc150085f
Notes: sideshowbarker 2024-07-17 20:33:50 +09:00
27 changed files with 27 additions and 0 deletions

View file

@ -8,6 +8,7 @@
#include <Kernel/API/POSIX/netinet/in.h>
#include <endian.h>
#include <sys/cdefs.h>
__BEGIN_DECLS