diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-01-04 00:54:13 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-01-04 00:54:13 +0100 |
commit | 1714fc06e08db35fc3638ddde259d61c7a764861 (patch) | |
tree | 8de4b237abfd4c02a31a8eb48d65edaf324e7409 /support/support_enter_mount_namespace.c | |
parent | Improve math_errhandling (diff) | |
download | glibc-1714fc06e08db35fc3638ddde259d61c7a764861.tar.gz glibc-1714fc06e08db35fc3638ddde259d61c7a764861.tar.bz2 glibc-1714fc06e08db35fc3638ddde259d61c7a764861.zip |
hurd: Fix support/support_enter_mount_namespace.c build
* support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
include <sys/mount.h>.
Diffstat (limited to 'support/support_enter_mount_namespace.c')
-rw-r--r-- | support/support_enter_mount_namespace.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/support/support_enter_mount_namespace.c b/support/support_enter_mount_namespace.c index 64fe08b044..3b4ce84f35 100644 --- a/support/support_enter_mount_namespace.c +++ b/support/support_enter_mount_namespace.c @@ -20,7 +20,9 @@ #include <sched.h> #include <stdio.h> +#ifdef CLONE_NEWNS #include <sys/mount.h> +#endif /* CLONE_NEWNS */ bool support_enter_mount_namespace (void) |