projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
udhcpc: fix a problem with binary-encoded options #2
[oweals/busybox.git]
/
libbb
/
match_fstype.c
diff --git
a/libbb/match_fstype.c
b/libbb/match_fstype.c
index 83d6e67700b0417154fdb215b739d64e9dda319f..32c3d7f188a1c941ef56fdf76becb761c9026f59 100644
(file)
--- a/
libbb/match_fstype.c
+++ b/
libbb/match_fstype.c
@@
-12,6
+12,8
@@
#include "libbb.h"
+#ifdef HAVE_MNTENT_H
+
int FAST_FUNC match_fstype(const struct mntent *mt, const char *t_fstype)
{
int match = 1;
@@
-40,3
+42,5
@@
int FAST_FUNC match_fstype(const struct mntent *mt, const char *t_fstype)
return !match;
}
+
+#endif /* HAVE_MNTENT_H */