sandbox: missing include
This commit is contained in:
parent
43f68ac927
commit
20342ff42d
@ -424,8 +424,7 @@ std::unique_ptr<nsjconf_t> parseArgs(int argc, char* argv[]) {
|
||||
nsjconf->logfile = optarg;
|
||||
break;
|
||||
case 'L':
|
||||
nsjconf->logfile =
|
||||
"/dev/fd/" + std::to_string(strtol(optarg, NULL, 10));
|
||||
nsjconf->logfile = "/dev/fd/" + std::to_string(strtol(optarg, NULL, 10));
|
||||
break;
|
||||
case 'd':
|
||||
nsjconf->daemonize = true;
|
||||
|
@ -24,6 +24,7 @@
|
||||
#include <linux/filter.h>
|
||||
#include <linux/seccomp.h>
|
||||
#include <stddef.h>
|
||||
#include <stdlib.h>
|
||||
#include <sys/prctl.h>
|
||||
|
||||
extern "C" {
|
||||
|
Loading…
Reference in New Issue
Block a user