summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibC/regex.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/regex.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/regex.h')
-rw-r--r--Userland/Libraries/LibC/regex.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibC/regex.h b/Userland/Libraries/LibC/regex.h
index a850a43ae8..18eea479a5 100644
--- a/Userland/Libraries/LibC/regex.h
+++ b/Userland/Libraries/LibC/regex.h
@@ -7,6 +7,7 @@
#pragma once
#include <stddef.h>
+#include <sys/cdefs.h>
#include <sys/types.h>
__BEGIN_DECLS