From patchwork Wed Jan 3 23:55:33 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Thibault X-Patchwork-Id: 25198 Received: (qmail 120952 invoked by alias); 3 Jan 2018 23:55:42 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 120937 invoked by uid 89); 3 Jan 2018 23:55:41 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.1 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, SPF_HELO_PASS, SPF_NEUTRAL autolearn=ham version=3.3.2 spammy=Hx-languages-length:1055, H*r:181 X-HELO: hera.aquilenet.fr From: Samuel Thibault To: libc-alpha@sourceware.org Cc: Samuel Thibault Subject: [hurd, commited] hurd: Fix support/support_enter_mount_namespace.c build Date: Thu, 4 Jan 2018 00:55:33 +0100 Message-Id: <20180103235533.23247-1-samuel.thibault@ens-lyon.org> * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not include . --- ChangeLog | 5 +++++ support/support_enter_mount_namespace.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index 68b8c93ccc..40e4d1b4eb 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 64fe08b044..3b4ce84f35 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)