aboutsummaryrefslogtreecommitdiff
path: root/util-linux/mount.c
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux/mount.c')
-rw-r--r--util-linux/mount.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/util-linux/mount.c b/util-linux/mount.c
index 76f048b1c..01e9b3d67 100644
--- a/util-linux/mount.c
+++ b/util-linux/mount.c
@@ -48,15 +48,17 @@
48#if defined BB_FEATURE_USE_DEVPS_PATCH 48#if defined BB_FEATURE_USE_DEVPS_PATCH
49#include <linux/devmtab.h> 49#include <linux/devmtab.h>
50#endif 50#endif
51#ifndef MS_RDONLY 51
52#include <linux/fs.h> 52/* 2.0.x. kernels don't know about MS_NODIRATIME */
53#ifndef MS_NODIRATIME
54#define MS_NODIRATIME 2048 /* Do not update directory access times */
53#endif 55#endif
54 56
55 57
58
56#if defined BB_FEATURE_MOUNT_LOOP 59#if defined BB_FEATURE_MOUNT_LOOP
57#include <fcntl.h> 60#include <fcntl.h>
58#include <sys/ioctl.h> 61#include <sys/ioctl.h>
59#include <linux/loop.h>
60 62
61 63
62static int use_loop = FALSE; 64static int use_loop = FALSE;