diff options
Diffstat (limited to '')
| -rw-r--r-- | sandbox.c | 2 |
1 files changed, 2 insertions, 0 deletions
| @@ -3,11 +3,13 @@ | |||
| 3 | #include "snac.h" | 3 | #include "snac.h" |
| 4 | 4 | ||
| 5 | #ifdef __linux__ | 5 | #ifdef __linux__ |
| 6 | #ifndef WITHOUT_SANDBOX | ||
| 6 | #include <linux/version.h> | 7 | #include <linux/version.h> |
| 7 | 8 | ||
| 8 | #if LINUX_VERSION_CODE < KERNEL_VERSION(5, 13, 0) | 9 | #if LINUX_VERSION_CODE < KERNEL_VERSION(5, 13, 0) |
| 9 | #define WITHOUT_SANDBOX | 10 | #define WITHOUT_SANDBOX |
| 10 | #endif | 11 | #endif |
| 12 | #endif | ||
| 11 | #endif /* __linux__ */ | 13 | #endif /* __linux__ */ |
| 12 | 14 | ||
| 13 | 15 | ||