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 <[email protected]>
SUSE
>From 9f8a50decf45aaa4436b9fb3a0ab360f238b7d96 Mon Sep 17 00:00:00 2001
From: Frederic Crozat <[email protected]>
Date: Thu, 18 Aug 2011 15:42:29 +0200
Subject: [PATCH] nspawn: add missing include header for MS_REC.

---
 src/nspawn.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/nspawn.c b/src/nspawn.c
index 2c1144a..19d95b2 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"
-- 
1.7.3.4

_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to