aboutsummaryrefslogtreecommitdiff
path: root/devel/electron36/files/patch-services_network_network__sandbox__hook__linux.h
blob: 80fe3360382a50216f9761851107273a23ea9154 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- services/network/network_sandbox_hook_linux.h.orig	2023-05-25 00:42:01 UTC
+++ services/network/network_sandbox_hook_linux.h
@@ -6,7 +6,11 @@
 #define SERVICES_NETWORK_NETWORK_SANDBOX_HOOK_LINUX_H_
 
 #include "base/component_export.h"
+#if defined(__OpenBSD__) || defined(__FreeBSD__)
+#include "sandbox/policy/sandbox.h"
+#else
 #include "sandbox/policy/linux/sandbox_linux.h"
+#endif
 
 namespace network {