Index: experimental/webtry/seccomp_bpf.h |
diff --git a/experimental/webtry/seccomp_bpf.h b/experimental/webtry/seccomp_bpf.h |
index 02bf3cff3a7124d01680ee6391690a93c9671afd..bf72f9aa991b22910274d66136f6663e2f89993b 100644 |
--- a/experimental/webtry/seccomp_bpf.h |
+++ b/experimental/webtry/seccomp_bpf.h |
@@ -14,6 +14,8 @@ |
#ifndef _SECCOMP_BPF_H_ |
#define _SECCOMP_BPF_H_ |
+#ifndef SK_UNSAFE_BUILD_DESKTOP_ONLY |
+ |
#define _GNU_SOURCE 1 |
#include <stdio.h> |
#include <stddef.h> |
@@ -62,4 +64,6 @@ struct seccomp_data { |
#define KILL_PROCESS \ |
BPF_STMT(BPF_RET+BPF_K, SECCOMP_RET_KILL) |
+#endif /* SK_UNSAFE_BUILD_DESKTOP_ONLY */ |
+ |
#endif /* _SECCOMP_BPF_H_ */ |