aboutsummaryrefslogtreecommitdiff
path: root/devel/electron23/files/patch-printing_sandbox_print__backend__sandbox__hook__linux.h
blob: 4e1d839b12d32acdf207f83004eec34da90d06b9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- printing/sandbox/print_backend_sandbox_hook_linux.h.orig	2022-02-07 13:39:41 UTC
+++ printing/sandbox/print_backend_sandbox_hook_linux.h
@@ -5,8 +5,13 @@
 #ifndef PRINTING_SANDBOX_PRINT_BACKEND_SANDBOX_HOOK_LINUX_H_
 #define PRINTING_SANDBOX_PRINT_BACKEND_SANDBOX_HOOK_LINUX_H_
 
+#include "build/build_config.h"
 #include "base/component_export.h"
+#if defined(OS_BSD)
+#include "sandbox/policy/openbsd/sandbox_openbsd.h"
+#else
 #include "sandbox/policy/linux/sandbox_linux.h"
+#endif
 
 namespace printing {