blob: 29f412422f87585f2309192d3464d4b9e437e680 (
plain) (
tree)
|
|
--- 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)
|