summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-components_sync__device__info_local__device__info__util__linux.cc
blob: 29f412422f87585f2309192d3464d4b9e437e680 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- components/sync_device_info/local_device_info_util_linux.cc.orig	2022-04-21 18:48:31 UTC
+++ components/sync_device_info/local_device_info_util_linux.cc
@@ -14,6 +14,11 @@
 #include "chromeos/constants/devicetype.h"  // nogncheck
 #endif
 
+#if defined(__FreeBSD__)
+#include <sys/param.h>
+#define HOST_NAME_MAX MAXHOSTNAMELEN
+#endif
+
 namespace syncer {
 
 #if BUILDFLAG(IS_CHROMEOS_ASH)