Index: experimental/webtry/seccomp_bpf.h |
diff --git a/experimental/webtry/seccomp_bpf.h b/experimental/webtry/seccomp_bpf.h |
index 02bf3cff3a7124d01680ee6391690a93c9671afd..c96fdfa2edc7ab21ce8902374f671f886842a761 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_ |
+#ifdef SK_BUILD_FOR_UNIX |
+ |
#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_BUILD_FOR_UNIX */ |
+ |
#endif /* _SECCOMP_BPF_H_ */ |