1 autofs-5.0.4 - use CLOEXEC flag setmntent include fix
3 From: Ian Kent <raven@themaw.net>
5 Fix mntent.h not included before use of setmntent_r() in automount.h.
8 include/automount.h | 1 +
9 lib/dev-ioctl-lib.c | 1 -
11 3 files changed, 1 insertions(+), 2 deletions(-)
14 diff --git a/include/automount.h b/include/automount.h
15 index 1f14d5b..615e07d 100644
16 --- a/include/automount.h
17 +++ b/include/automount.h
26 diff --git a/lib/dev-ioctl-lib.c b/lib/dev-ioctl-lib.c
27 index 056a0a9..7c8c433 100644
28 --- a/lib/dev-ioctl-lib.c
29 +++ b/lib/dev-ioctl-lib.c
32 #include <sys/ioctl.h>
37 #include "automount.h"
38 diff --git a/lib/mounts.c b/lib/mounts.c
39 index 08ca4e3..4787bb6 100644
48 #include <sys/types.h>