aboutsummaryrefslogtreecommitdiff
path: root/devel/electron37/files/patch-content_common_gpu__pre__sandbox__hook__linux.h
blob: 726f22ba754e98d2900808447c9dbb0a4abfb4a9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- content/common/gpu_pre_sandbox_hook_linux.h.orig	2024-04-15 20:33:57 UTC
+++ content/common/gpu_pre_sandbox_hook_linux.h
@@ -5,8 +5,13 @@
 #ifndef CONTENT_COMMON_GPU_PRE_SANDBOX_HOOK_LINUX_H_
 #define CONTENT_COMMON_GPU_PRE_SANDBOX_HOOK_LINUX_H_
 
+#include "build/build_config.h"
 #include "base/component_export.h"
+#if BUILDFLAG(IS_BSD)
+#include "sandbox/policy/sandbox.h"
+#else
 #include "sandbox/policy/linux/sandbox_linux.h"
+#endif
 
 namespace content {