aboutsummaryrefslogtreecommitdiff
path: root/sandbox.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2025-01-05 14:00:13 +0100
committerdefault <nobody@localhost>2025-01-05 14:00:13 +0100
commitbcd34f4959206491be82abbf3f7124b03a5deb27 (patch)
tree2f7185eb52e27629f42008a45a48e8f90a9078dc /sandbox.c
parent9c0dbd7ec301331980261e4ba391e5bc5e9b3381 (diff)
More sandbox compilation tweaks under Alpine Linux.
Diffstat (limited to 'sandbox.c')
-rw-r--r--sandbox.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sandbox.c b/sandbox.c
index 0d82f58..f6f8d67 100644
--- a/sandbox.c
+++ b/sandbox.c
@@ -3,11 +3,13 @@
#include "snac.h"
#ifdef __linux__
+#ifndef WITHOUT_SANDBOX
#include <linux/version.h>
#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 13, 0)
#define WITHOUT_SANDBOX
#endif
+#endif
#endif /* __linux__ */