From: Samuel Thibault Date: Sun, 28 Jan 2018 16:56:49 +0000 (+0100) Subject: hurd: Fix building io/tst-copy_file_range.c X-Git-Tag: glibc-2.27~60 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3fc1ecf93549acd5bea1e84d93862ee556b3a5a8;p=thirdparty%2Fglibc.git hurd: Fix building io/tst-copy_file_range.c * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include . --- diff --git a/ChangeLog b/ChangeLog index 23058435c45..961262d6547 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 f1cab1252d3..3d531a19370 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. */