aboutsummaryrefslogtreecommitdiff
path: root/devel/electron29/files/patch-content_utility_speech_speech__recognition__sandbox__hook__linux.h
blob: cbeba4accc3e5ddf77d5d35da65f65292cdc2e4b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- content/utility/speech/speech_recognition_sandbox_hook_linux.h.orig	2023-10-19 19:58:23 UTC
+++ content/utility/speech/speech_recognition_sandbox_hook_linux.h
@@ -5,7 +5,13 @@
 #ifndef CONTENT_UTILITY_SPEECH_SPEECH_RECOGNITION_SANDBOX_HOOK_LINUX_H_
 #define CONTENT_UTILITY_SPEECH_SPEECH_RECOGNITION_SANDBOX_HOOK_LINUX_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 speech {