summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibC/time.h
diff options
context:
space:
mode:
authorEmily Trau <me@angus.ws>2022-08-16 01:57:43 +1000
committerLinus Groh <mail@linusgroh.de>2022-08-23 19:07:12 +0100
commitabc150085f532f123b598949218893cb272ccc4c (patch)
tree9bb772430049af6ca4db5b5b53a2b0ff583f9e30 /Userland/Libraries/LibC/time.h
parente70624de9fe6124b774784576875249641777bd8 (diff)
downloadserenity-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/time.h')
-rw-r--r--Userland/Libraries/LibC/time.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibC/time.h b/Userland/Libraries/LibC/time.h
index caf8d9d6e5..dec5d75719 100644
--- a/Userland/Libraries/LibC/time.h
+++ b/Userland/Libraries/LibC/time.h
@@ -7,6 +7,7 @@
#pragma once
#include <Kernel/API/POSIX/time.h>
+#include <sys/cdefs.h>
__BEGIN_DECLS