aboutsummaryrefslogtreecommitdiff
path: root/libc/include
diff options
context:
space:
mode:
authorJoseph Huber <huberjn@outlook.com>2024-07-15 22:21:17 -0500
committerGitHub <noreply@github.com>2024-07-15 22:21:17 -0500
commit94ed08d6b2a80cd6838bd16f21e8437918fc4dc1 (patch)
tree0ec19ec50b857e25579ae9465502250e2257d8e4 /libc/include
parent27b2f4f861b8aeeabc4eb1a97649062de8fa3992 (diff)
downloadllvm-94ed08d6b2a80cd6838bd16f21e8437918fc4dc1.zip
llvm-94ed08d6b2a80cd6838bd16f21e8437918fc4dc1.tar.gz
llvm-94ed08d6b2a80cd6838bd16f21e8437918fc4dc1.tar.bz2
[libc] Enable 'wchar.h' for the GPU (#98973)
Summary: This file is not really well populated, but is required for some targets to configure. Enable it on the GPU for now.
Diffstat (limited to 'libc/include')
-rw-r--r--libc/include/uchar.h.def1
-rw-r--r--libc/include/wchar.h.def2
2 files changed, 3 insertions, 0 deletions
diff --git a/libc/include/uchar.h.def b/libc/include/uchar.h.def
index 31b7fcb..83400f4 100644
--- a/libc/include/uchar.h.def
+++ b/libc/include/uchar.h.def
@@ -10,6 +10,7 @@
#define LLVM_LIBC_UCHAR_H
#include "__llvm-libc-common.h"
+#include "llvm-libc-types/mbstate_t.h"
%%public_api()
diff --git a/libc/include/wchar.h.def b/libc/include/wchar.h.def
index 4c25de7..d0de1a6 100644
--- a/libc/include/wchar.h.def
+++ b/libc/include/wchar.h.def
@@ -11,6 +11,8 @@
#include "__llvm-libc-common.h"
#include "llvm-libc-macros/wchar-macros.h"
+#include "llvm-libc-types/wint_t.h"
+#include "llvm-libc-types/mbstate_t.h"
%%public_api()