blob: 4defcff3e9ffd142b72d67f22c0442da578e0b1a (
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-05-11 07:16:51 UTC
+++ components/sync_device_info/local_device_info_util_linux.cc
@@ -14,6 +14,11 @@
#include "ash/constants/devicetype.h"
#endif
+#if defined(__FreeBSD__)
+#include <sys/param.h>
+#define HOST_NAME_MAX MAXHOSTNAMELEN
+#endif
+
namespace syncer {
#if BUILDFLAG(IS_CHROMEOS_ASH)
|