summaryrefslogtreecommitdiff
path: root/Userland/Libraries
diff options
context:
space:
mode:
authorDaniel Bertalan <dani@danielbertalan.dev>2021-09-18 08:47:41 +0200
committerLinus Groh <mail@linusgroh.de>2021-10-17 17:09:58 +0100
commitb5fcb10493104538571cfd99517dc2e73b6257ae (patch)
tree292ad3d38a050152ea06592c3832bd224ea667ec /Userland/Libraries
parent20986b706602cc56516ae6d3a6879b65ec566964 (diff)
downloadserenity-b5fcb10493104538571cfd99517dc2e73b6257ae.zip
LibC: Forward-declare `struct tm` in wchar.h
The C standard specifies that this forward-declaration be present in wchar.h, and is needed in order to build libstdc++.
Diffstat (limited to 'Userland/Libraries')
-rw-r--r--Userland/Libraries/LibC/wchar.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Libraries/LibC/wchar.h b/Userland/Libraries/LibC/wchar.h
index 543540e00a..a1ed5476c0 100644
--- a/Userland/Libraries/LibC/wchar.h
+++ b/Userland/Libraries/LibC/wchar.h
@@ -24,6 +24,8 @@ typedef struct {
unsigned int stored_bytes;
} mbstate_t;
+struct tm;
+
size_t wcslen(const wchar_t*);
wchar_t* wcscpy(wchar_t*, const wchar_t*);
wchar_t* wcsncpy(wchar_t*, const wchar_t*, size_t);