Fix mtab so it works on libc5
[oweals/busybox.git] / 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)
 {