aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-03-14 01:48:10 +0000
committerEric Andersen <andersen@codepoet.org>2001-03-14 01:48:10 +0000
commit741f2c9898d4f398ddb2f1d8f33e97f0eedd676b (patch)
treec8c9b8e11a872388bdb763ef8003efbeae04c078
parentb9a1e56a80c98c883ff9af9cf37dd74d5afa1e22 (diff)
downloadbusybox-741f2c9898d4f398ddb2f1d8f33e97f0eedd676b.tar.gz
Fix mtab so it works on libc5
-rw-r--r--mtab.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/mtab.c b/mtab.c
index 8411fe1fa..049765775 100644
--- a/mtab.c
+++ b/mtab.c
@@ -5,11 +5,10 @@
#include <string.h>
#include <stdio.h>
#include <mntent.h>
-#include <sys/mount.h>
#include "busybox.h"
extern const char mtab_file[]; /* Defined in utility.c */
-
+static const int MS_RDONLY = 1; /* Mount read-only. */
void erase_mtab(const char *name)
{