diff options
author | Emily Trau <me@angus.ws> | 2022-08-16 01:57:43 +1000 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-08-23 19:07:12 +0100 |
commit | abc150085f532f123b598949218893cb272ccc4c (patch) | |
tree | 9bb772430049af6ca4db5b5b53a2b0ff583f9e30 /Userland/Libraries/LibC/serenity.h | |
parent | e70624de9fe6124b774784576875249641777bd8 (diff) | |
download | serenity-abc150085f532f123b598949218893cb272ccc4c.zip |
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.
Diffstat (limited to 'Userland/Libraries/LibC/serenity.h')
-rw-r--r-- | Userland/Libraries/LibC/serenity.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibC/serenity.h b/Userland/Libraries/LibC/serenity.h index 35cb299e67..97735d7d4f 100644 --- a/Userland/Libraries/LibC/serenity.h +++ b/Userland/Libraries/LibC/serenity.h @@ -9,6 +9,7 @@ #include <Kernel/API/POSIX/futex.h> #include <Kernel/API/POSIX/serenity.h> #include <stdio.h> +#include <sys/cdefs.h> #include <time.h> #include <unistd.h> |