mirror of
https://codeberg.org/kiss-community/repo
synced 2024-12-25 16:50:07 -07:00
36 lines
1.5 KiB
Diff
36 lines
1.5 KiB
Diff
diff --git chromium-75.0.3770.100/chrome/browser/metrics/chrome_browser_main_extra_parts_metrics.cc chromium-75.0.3770.100/chrome/browser/metrics/chrome_browser_main_extra_parts_metrics.cc
|
|
index 3ae4f3c..08ed693 100644
|
|
--- chromium-75.0.3770.100/chrome/browser/metrics/chrome_browser_main_extra_parts_metrics.cc
|
|
+++ chromium-75.0.3770.100/chrome/browser/metrics/chrome_browser_main_extra_parts_metrics.cc
|
|
@@ -43,7 +43,9 @@
|
|
#endif // defined(OS_ANDROID) && defined(__arm__)
|
|
|
|
#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
|
|
+#if defined(__GLIBC__)
|
|
#include <gnu/libc-version.h>
|
|
+#endif // defined(__GLIBC__)
|
|
|
|
#include "base/linux_util.h"
|
|
#include "base/strings/string_split.h"
|
|
@@ -326,7 +328,7 @@ void RecordLinuxDistro() {
|
|
#endif // defined(OS_LINUX) && !defined(OS_CHROMEOS)
|
|
|
|
void RecordLinuxGlibcVersion() {
|
|
-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
|
|
+#if defined(OS_LINUX) && !defined(OS_CHROMEOS) && defined(__GLIBC__)
|
|
base::Version version(gnu_get_libc_version());
|
|
|
|
UMALinuxGlibcVersion glibc_version_result = UMA_LINUX_GLIBC_NOT_PARSEABLE;
|
|
diff --git chromium-75.0.3770.100/services/device/serial/serial_io_handler_posix.cc chromium-75.0.3770.100/services/device/serial/serial_io_handler_posix.cc
|
|
index daed079..5470a35 100644
|
|
--- chromium-75.0.3770.100/services/device/serial/serial_io_handler_posix.cc
|
|
+++ chromium-75.0.3770.100/services/device/serial/serial_io_handler_posix.cc
|
|
@@ -4,6 +4,7 @@
|
|
|
|
#include "services/device/serial/serial_io_handler_posix.h"
|
|
|
|
+#include <asm/ioctls.h>
|
|
#include <sys/ioctl.h>
|
|
#include <termios.h>
|
|
|