0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-08-09 17:11:52 +00:00
Files
termux-packages/x11-packages/carbonyl-host-tools/patches/1009-chromium-no-glibc-version.patch
2025-02-01 17:05:51 +08:00

15 lines
547 B
Diff

--- a/chrome/browser/metrics/chrome_browser_main_extra_parts_metrics.cc
+++ b/chrome/browser/metrics/chrome_browser_main_extra_parts_metrics.cc
@@ -61,8 +61,10 @@
// TODO(crbug.com/1052397): Revisit the macro expression once build flag switch
// of lacros-chrome is complete.
-#if defined(__GLIBC__) && (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS))
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)
+#ifdef __GLIBC__
#include <gnu/libc-version.h>
+#endif
#include "base/linux_util.h"
#include "base/strings/string_split.h"