[libcxx-commits] [libcxx] [libc++][chrono] Adds a missing main include. (PR #132100)

Mark de Wever via libcxx-commits libcxx-commits at lists.llvm.org
Thu Mar 20 09:59:28 PDT 2025


https://github.com/mordante updated https://github.com/llvm/llvm-project/pull/132100

>From f4c47a393fd1b7116d595ec7d4e87e01e849925a Mon Sep 17 00:00:00 2001
From: Mark de Wever <koraq at xs4all.nl>
Date: Wed, 19 Mar 2025 22:03:14 +0100
Subject: [PATCH] [libc++][chrono] Adds a missing main include.

---
 libcxx/include/chrono | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libcxx/include/chrono b/libcxx/include/chrono
index d8006720c495c..cd9b98872083e 100644
--- a/libcxx/include/chrono
+++ b/libcxx/include/chrono
@@ -1072,6 +1072,7 @@ constexpr chrono::year                                  operator ""y(unsigned lo
 #    endif
 
 #    if _LIBCPP_HAS_TIME_ZONE_DATABASE && _LIBCPP_HAS_FILESYSTEM && _LIBCPP_HAS_LOCALIZATION
+#      include <__chrono/gps_clock.h>
 #      include <__chrono/leap_second.h>
 #      include <__chrono/tai_clock.h>
 #      include <__chrono/time_zone.h>



More information about the libcxx-commits mailing list