From patchwork Sun Jan 28 17:23:08 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Thibault X-Patchwork-Id: 25642 Received: (qmail 127661 invoked by alias); 28 Jan 2018 17:23:15 -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 127625 invoked by uid 89); 28 Jan 2018 17:23:14 -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=act X-HELO: hera.aquilenet.fr From: Samuel Thibault To: libc-alpha@sourceware.org Cc: Samuel Thibault Subject: [hurd,commited 3/3] hurd: Fix building io/tst-copy_file_range.c Date: Sun, 28 Jan 2018 18:23:08 +0100 Message-Id: <20180128172308.7647-4-samuel.thibault@ens-lyon.org> In-Reply-To: <20180128172308.7647-1-samuel.thibault@ens-lyon.org> References: <20180128172308.7647-1-samuel.thibault@ens-lyon.org> * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include . --- ChangeLog | 2 ++ io/tst-copy_file_range.c | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 23058435c4..961262d654 100644 --- a/ChangeLog +++ b/ChangeLog @@ -58,6 +58,8 @@ * libio/tst-wmemstream3.c (FWRITE): Rename accordingly. * io/tst-fchownat.c [!defined _POSIX_CHOWN_RESTRICTED]: Act like when _POSIX_CHOWN_RESTRICTED is defined to 0. + * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include + . 2008-12-18 Thomas Schwinge diff --git a/io/tst-copy_file_range.c b/io/tst-copy_file_range.c index f1cab1252d..3d531a1937 100644 --- a/io/tst-copy_file_range.c +++ b/io/tst-copy_file_range.c @@ -33,7 +33,9 @@ #include #include #include -#include +#ifdef CLONE_NEWNS +# include +#endif /* Boolean flags which indicate whether to use pointers with explicit output flags. */