summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-03-14 03:27:28 +0100
committerLennart Poettering <lennart@poettering.net>2011-03-14 03:27:28 +0100
commit94d8298589f06de596fbc0a4bc9b50072a2a0536 (patch)
tree2ad87bd752c6c32d38c19fa29f95052fd5db5918 /src
parent6df6b93910da6cf501325d861fcf2d7f8b8bf556 (diff)
nspawn: define MS_MOVE manually if needed
Diffstat (limited to 'src')
-rw-r--r--src/missing.h4
-rw-r--r--src/nspawn.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/src/missing.h b/src/missing.h
index ff5dcb4092..c0cb3eaea7 100644
--- a/src/missing.h
+++ b/src/missing.h
@@ -122,4 +122,8 @@ struct btrfs_ioctl_vol_args {
#define BTRFS_SUPER_MAGIC 0x9123683E
#endif
+#ifndef MS_MOVE
+#define MS_MOVE 8192
+#endif
+
#endif
diff --git a/src/nspawn.c b/src/nspawn.c
index fa70e86c46..bf4e6de2ab 100644
--- a/src/nspawn.c
+++ b/src/nspawn.c
@@ -36,6 +36,7 @@
#include "log.h"
#include "util.h"
+#include "missing.h"
static char *arg_directory = NULL;