Trivial: Wrap the #define MNT_DETACH with #ifndef MNT_DETACH...#endif so that it does not break with the latest glibc headers, as in F11/rawhide.
This commit is contained in:
parent
a07493d1a1
commit
7610baa968
|
@ -348,7 +348,9 @@ int selinux_init_load_policy(int *enforce)
|
|||
fclose(cfg);
|
||||
free(buf);
|
||||
}
|
||||
#ifndef MNT_DETACH
|
||||
#define MNT_DETACH 2
|
||||
#endif
|
||||
if (rc == 0)
|
||||
umount2("/proc", MNT_DETACH);
|
||||
|
||||
|
|
Loading…
Reference in New Issue