From: Samuel Thibault Date: Wed, 3 Jan 2018 23:54:13 +0000 (+0100) Subject: hurd: Fix support/support_enter_mount_namespace.c build X-Git-Tag: glibc-2.27~192 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1714fc06e08db35fc3638ddde259d61c7a764861;p=thirdparty%2Fglibc.git hurd: Fix support/support_enter_mount_namespace.c build * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not include . --- diff --git a/ChangeLog b/ChangeLog index 68b8c93cccc..40e4d1b4eba 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2018-01-03 Samuel Thibault + + * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not + include . + 2018-01-02 Wilco Dijkstra * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__. diff --git a/support/support_enter_mount_namespace.c b/support/support_enter_mount_namespace.c index 64fe08b044f..3b4ce84f359 100644 --- a/support/support_enter_mount_namespace.c +++ b/support/support_enter_mount_namespace.c @@ -20,7 +20,9 @@ #include #include +#ifdef CLONE_NEWNS #include +#endif /* CLONE_NEWNS */ bool support_enter_mount_namespace (void)