blob: 1edb88b3988410a2ad7cf48e672eb54b8bb9dc2e (
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-09-24 10:57:32 UTC
+++ components/sync_device_info/local_device_info_util_linux.cc
@@ -9,6 +9,11 @@
#include "base/linux_util.h"
+#if defined(__FreeBSD__)
+#include <sys/param.h>
+#define HOST_NAME_MAX MAXHOSTNAMELEN
+#endif
+
namespace syncer {
std::string GetPersonalizableDeviceNameInternal() {
|