Incude definition for MNT_DETACH which is missing in older GNU libc headers.

This commit is contained in:
Petter Reinholdtsen
2010-04-11 07:42:27 +00:00
parent 66299c783d
commit b6ecd1eadc
2 changed files with 5 additions and 0 deletions

View File

@@ -55,6 +55,9 @@
#ifdef WITH_SELINUX
# include <selinux/selinux.h>
# include <sys/mount.h>
# ifndef MNT_DETACH /* present in glibc 2.10, missing in 2.7 */
# define MNT_DETACH 2
# endif
#endif
#ifdef __i386__