aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-services_screen__ai_sandbox_screen__ai__sandbox__hook__linux.h
blob: e4f1e4e5bf6fba1dd66e263cc0c31f8963337259 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- services/screen_ai/sandbox/screen_ai_sandbox_hook_linux.h.orig	2024-04-19 13:02:56 UTC
+++ services/screen_ai/sandbox/screen_ai_sandbox_hook_linux.h
@@ -6,7 +6,13 @@
 #define SERVICES_SCREEN_AI_SANDBOX_SCREEN_AI_SANDBOX_HOOK_LINUX_H_
 
 #include "base/files/file_path.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 screen_ai {