summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--execute.c1
-rw-r--r--load-fragment.c1
-rw-r--r--namespace.c1
-rw-r--r--test-ns.c1
4 files changed, 4 insertions, 0 deletions
diff --git a/execute.c b/execute.c
index 0b4baee647..7192abfffb 100644
--- a/execute.c
+++ b/execute.c
@@ -35,6 +35,7 @@
#include <grp.h>
#include <pwd.h>
#include <sys/mount.h>
+#include <linux/fs.h>
#include "execute.h"
#include "strv.h"
diff --git a/load-fragment.c b/load-fragment.c
index b5efbb25e0..0dfb49f113 100644
--- a/load-fragment.c
+++ b/load-fragment.c
@@ -28,6 +28,7 @@
#include <sched.h>
#include <sys/prctl.h>
#include <sys/mount.h>
+#include <linux/fs.h>
#include "unit.h"
#include "strv.h"
diff --git a/namespace.c b/namespace.c
index 880d5c33eb..09bcaff968 100644
--- a/namespace.c
+++ b/namespace.c
@@ -29,6 +29,7 @@
#include <sched.h>
#include <sys/syscall.h>
#include <limits.h>
+#include <linux/fs.h>
#include "strv.h"
#include "util.h"
diff --git a/test-ns.c b/test-ns.c
index d40f8beb6b..a54011e300 100644
--- a/test-ns.c
+++ b/test-ns.c
@@ -23,6 +23,7 @@
#include <string.h>
#include <unistd.h>
#include <sys/mount.h>
+#include <linux/fs.h>
#include "namespace.h"
#include "log.h"