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

@ -29,6 +29,8 @@ sysvinit (2.88dsf) UNRELEASED; urgency=low
to disk using fdatasync(). Patch from Scott Gifford via Debian.
* Add compatibility code to handle old path "/etc/powerstatus" for a
while.
* Incude definition for MNT_DETACH which is missing in older GNU libc
headers.
[ Werner Fink ]
* Add the comment from Andrea Arcangeli about the correct

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__