aboutsummaryrefslogtreecommitdiff
path: root/devel/electron36/files/patch-components_services_on__device__translation_sandbox__hook.h
blob: 86fd81de28232983310d7de3be18b378e9bceb6c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- components/services/on_device_translation/sandbox_hook.h.orig	2025-01-27 17:37:37 UTC
+++ components/services/on_device_translation/sandbox_hook.h
@@ -5,7 +5,13 @@
 #ifndef COMPONENTS_SERVICES_ON_DEVICE_TRANSLATION_SANDBOX_HOOK_H_
 #define COMPONENTS_SERVICES_ON_DEVICE_TRANSLATION_SANDBOX_HOOK_H_
 
+#include "build/build_config.h"
+
+#if BUILDFLAG(IS_BSD)
+#include "sandbox/policy/sandbox.h"
+#else
 #include "sandbox/policy/linux/sandbox_linux.h"
+#endif
 
 namespace on_device_translation {