diff --git a/libc/include/CMakeLists.txt b/libc/include/CMakeLists.txt index d9cb5b97c05406..fe95a76c94b33b 100644 --- a/libc/include/CMakeLists.txt +++ b/libc/include/CMakeLists.txt @@ -210,6 +210,7 @@ add_gen_header( .llvm-libc-types.struct_timeval .llvm-libc-types.clockid_t .llvm-libc-types.size_t + .llvm-libc-types.locale_t ) add_gen_header( diff --git a/libc/include/time.h.def b/libc/include/time.h.def index 3b748a7edd1497..f23488720bac4d 100644 --- a/libc/include/time.h.def +++ b/libc/include/time.h.def @@ -12,6 +12,7 @@ #include "__llvm-libc-common.h" #include "llvm-libc-macros/time-macros.h" #include "llvm-libc-types/size_t.h" +#include "llvm-libc-types/locale_t.h" %%public_api()