Blob Blame History Raw
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;