[lxc-devel] [lxc/master] cgfsng: include sys/mount.h

hallyn on Github lxc-bot at linuxcontainers.org
Thu Mar 17 03:57:03 UTC 2016


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 397 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20160317/fc643941/attachment.bin>
-------------- next part --------------
From f0368a9fad410e6ff6ff8ee52514fdb538f3a35d Mon Sep 17 00:00:00 2001
From: Serge Hallyn <serge.hallyn at ubuntu.com>
Date: Wed, 16 Mar 2016 20:54:38 -0700
Subject: [PATCH] cgfsng: include sys/mount.h

to hopefully define RELATIME for android

Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>
---
 src/lxc/cgfsng.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/lxc/cgfsng.c b/src/lxc/cgfsng.c
index f369d2d..7ce1fd0 100644
--- a/src/lxc/cgfsng.c
+++ b/src/lxc/cgfsng.c
@@ -42,6 +42,7 @@
 #include <unistd.h>
 #include <dirent.h>
 #include <grp.h>
+#include <sys/mount.h>
 
 #include "log.h"
 #include "cgroup.h"


More information about the lxc-devel mailing list