aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/firejail/landlock.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/firejail/landlock.c b/src/firejail/landlock.c
index a360f155b..3ac1bddae 100644
--- a/src/firejail/landlock.c
+++ b/src/firejail/landlock.c
@@ -19,7 +19,6 @@
19*/ 19*/
20 20
21#include "firejail.h" 21#include "firejail.h"
22#include <linux/landlock.h>
23#include <sys/prctl.h> 22#include <sys/prctl.h>
24#include <sys/syscall.h> 23#include <sys/syscall.h>
25#include <sys/types.h> 24#include <sys/types.h>
@@ -28,6 +27,8 @@
28 27
29#ifdef HAVE_LANDLOCK 28#ifdef HAVE_LANDLOCK
30 29
30#include <linux/landlock.h>
31
31static int ll_ruleset_fd = -1; 32static int ll_ruleset_fd = -1;
32static int ll_abi = -1; 33static int ll_abi = -1;
33 34