Fix mtab so it works on libc5
authorEric Andersen <andersen@codepoet.org>
Wed, 14 Mar 2001 01:48:10 +0000 (01:48 -0000)
committerEric Andersen <andersen@codepoet.org>
Wed, 14 Mar 2001 01:48:10 +0000 (01:48 -0000)
mtab.c

diff --git a/mtab.c b/mtab.c
index 8411fe1fafe0e188b7f7c0a98b69aef4cc0588ba..0497657758089d28cd60a1a93e7b1360fef580b7 100644 (file)
--- 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)
 {