diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-03-14 01:48:10 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-03-14 01:48:10 +0000 |
commit | 741f2c9898d4f398ddb2f1d8f33e97f0eedd676b (patch) | |
tree | c8c9b8e11a872388bdb763ef8003efbeae04c078 | |
parent | b9a1e56a80c98c883ff9af9cf37dd74d5afa1e22 (diff) | |
download | busybox-w32-741f2c9898d4f398ddb2f1d8f33e97f0eedd676b.tar.gz busybox-w32-741f2c9898d4f398ddb2f1d8f33e97f0eedd676b.tar.bz2 busybox-w32-741f2c9898d4f398ddb2f1d8f33e97f0eedd676b.zip |
Fix mtab so it works on libc5
-rw-r--r-- | mtab.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -5,11 +5,10 @@ | |||
5 | #include <string.h> | 5 | #include <string.h> |
6 | #include <stdio.h> | 6 | #include <stdio.h> |
7 | #include <mntent.h> | 7 | #include <mntent.h> |
8 | #include <sys/mount.h> | ||
9 | #include "busybox.h" | 8 | #include "busybox.h" |
10 | 9 | ||
11 | extern const char mtab_file[]; /* Defined in utility.c */ | 10 | extern const char mtab_file[]; /* Defined in utility.c */ |
12 | 11 | static const int MS_RDONLY = 1; /* Mount read-only. */ | |
13 | 12 | ||
14 | void erase_mtab(const char *name) | 13 | void erase_mtab(const char *name) |
15 | { | 14 | { |