[Devel] [PATCH 2/7] check: Include sys/mount.h before linux/aio_abi.h

Cyrill Gorcunov gorcunov at gmail.com
Thu Feb 15 23:30:25 MSK 2018


Otherwise MS_RDONLY become undefined on modern distros.

Signed-off-by: Cyrill Gorcunov <gorcunov at virtuozzo.com>
---
 criu/cr-check.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/criu/cr-check.c b/criu/cr-check.c
index 78a0571eb..e4e4a047b 100644
--- a/criu/cr-check.c
+++ b/criu/cr-check.c
@@ -21,8 +21,8 @@
 #include <netinet/in.h>
 #include <sys/prctl.h>
 #include <sched.h>
-#include <linux/aio_abi.h>
 #include <sys/mount.h>
+#include <linux/aio_abi.h>
 
 #include "../soccr/soccr.h"
 
-- 
2.14.3



More information about the Devel mailing list