summaryrefslogtreecommitdiff
path: root/src/nspawn.c
diff options
context:
space:
mode:
authorFrederic Crozat <fcrozat@suse.com>2011-08-18 15:50:43 +0200
committerLennart Poettering <lennart@poettering.net>2011-08-19 00:34:51 +0200
commit5ed27dbdbfe866810a52ff8225bcf61590861823 (patch)
tree2ea7d1ef5aa61afb3985744b96dffaa22ee11e48 /src/nspawn.c
parente191553d1dc80cd6d65d05f0cb29f8967fab6983 (diff)
PATCH: add missing header include
Hi, MS_REC is not always defined in sys/mount.h. linux/fs.h should be included, since it is always defined there. -- Frederic Crozat <fcrozat@suse.com> SUSE >From 9f8a50decf45aaa4436b9fb3a0ab360f238b7d96 Mon Sep 17 00:00:00 2001 From: Frederic Crozat <fcrozat@suse.com> Date: Thu, 18 Aug 2011 15:42:29 +0200 Subject: [PATCH] nspawn: add missing include header for MS_REC.
Diffstat (limited to 'src/nspawn.c')
-rw-r--r--src/nspawn.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nspawn.c b/src/nspawn.c
index 2c1144a7f5..19d95b214f 100644
--- a/src/nspawn.c
+++ b/src/nspawn.c
@@ -37,6 +37,7 @@
#include <termios.h>
#include <sys/signalfd.h>
#include <grp.h>
+#include <linux/fs.h>
#include "log.h"
#include "util.h"