sandbox: missing include

This commit is contained in:
Robert Swiecki 2018-02-16 15:24:24 +01:00
parent 43f68ac927
commit 20342ff42d
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -24,6 +24,7 @@
#include <linux/filter.h>
#include <linux/seccomp.h>
#include <stddef.h>
#include <stdlib.h>
#include <sys/prctl.h>
extern "C" {