mirror of
https://git.busybox.net/busybox
synced 2026-01-31 16:43:21 +00:00
mount: Surround syslog.h with the config check
This lets bb mount build for limited targets without syslog.h, as long as the parts using it like NFS are disabled. Signed-off-by: Lauri Kasanen <cand@gmx.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
51a471d05d
commit
6cfec7dd02
1 changed files with 2 additions and 0 deletions
|
|
@ -182,7 +182,9 @@
|
|||
//usage: "Returns 0 for success, number of failed mounts for -a, or errno for one mount."
|
||||
|
||||
#include <mntent.h>
|
||||
#if ENABLE_FEATURE_SYSLOG
|
||||
#include <syslog.h>
|
||||
#endif
|
||||
#include <sys/mount.h>
|
||||
// Grab more as needed from util-linux's mount/mount_constants.h
|
||||
#ifndef MS_DIRSYNC
|
||||
|
|
|
|||
Loading…
Reference in a new issue