aboutsummaryrefslogtreecommitdiffstats
path: root/src/firejail/landlock.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/firejail/landlock.c')
-rw-r--r--src/firejail/landlock.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/firejail/landlock.c b/src/firejail/landlock.c
index 453ad8f10..44d7eeafa 100644
--- a/src/firejail/landlock.c
+++ b/src/firejail/landlock.c
@@ -294,4 +294,10 @@ void ll_add_profile(int type, const char *data) {
294 ptr->next = entry; 294 ptr->next = entry;
295} 295}
296 296
297#else
298void ll_add_profile(int type, const char *data) {
299 (void) type;
300 (void) data;
301}
302
297#endif /* HAVE_LANDLOCK */ 303#endif /* HAVE_LANDLOCK */