autofs/autofs-5.0.6-fix-MNT_DETACH-define.patch
Ian Kent 3d12a7aac3 * Mon Dec 5 2011 Ian Kent <ikent@redhat.com> - 1:5.0.6-5
- fix ipv6 name lookup check.
- fix ipv6 rpc calls.
- fix ipv6 configure check.
- add piddir to configure.
- add systemd unit support.
- fix MNT_DETACH define.
2011-12-05 15:09:33 +08:00

24 lines
503 B
Diff

autofs-5.0.6 - fix MNT_DETACH define
From: Ian Kent <raven@themaw.net>
MNT_DETACH has been included in herder file
---
include/automount.h | 2 ++
1 file changed, 2 insertions(+)
--- autofs-5.0.6.orig/include/automount.h
+++ autofs-5.0.6/include/automount.h
@@ -333,7 +333,9 @@ int ncat_path(char *buf, size_t len,
/* Core automount definitions */
+#ifndef MNT_DETACH
#define MNT_DETACH 0x00000002 /* Just detach from the tree */
+#endif
struct startup_cond {
pthread_mutex_t mutex;