diff options
Diffstat (limited to 'sandbox.c')
| -rw-r--r-- | sandbox.c | 3 |
1 files changed, 1 insertions, 2 deletions
| @@ -7,11 +7,10 @@ | |||
| 7 | #if defined (__linux__) | 7 | #if defined (__linux__) |
| 8 | # define __USE_GNU | 8 | # define __USE_GNU |
| 9 | # include <linux/landlock.h> | 9 | # include <linux/landlock.h> |
| 10 | # include <linux/prctl.h> | ||
| 11 | # include <sys/syscall.h> | 10 | # include <sys/syscall.h> |
| 12 | # include <sys/prctl.h> | 11 | # include <sys/prctl.h> |
| 12 | # include <stdint.h> | ||
| 13 | # include <fcntl.h> | 13 | # include <fcntl.h> |
| 14 | # include <arpa/inet.h> | ||
| 15 | #endif | 14 | #endif |
| 16 | 15 | ||
| 17 | void sbox_enter(const char *basedir) | 16 | void sbox_enter(const char *basedir) |