mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-01 10:06:57 +03:00
hurd: Fix building io/tst-copy_file_range.c
* io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include <sys/mount.h>.
This commit is contained in:
@ -58,6 +58,8 @@
|
|||||||
* libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
|
* libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
|
||||||
* io/tst-fchownat.c [!defined _POSIX_CHOWN_RESTRICTED]: Act like when
|
* io/tst-fchownat.c [!defined _POSIX_CHOWN_RESTRICTED]: Act like when
|
||||||
_POSIX_CHOWN_RESTRICTED is defined to 0.
|
_POSIX_CHOWN_RESTRICTED is defined to 0.
|
||||||
|
* io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
|
||||||
|
<sys/mount.h>.
|
||||||
|
|
||||||
2008-12-18 Thomas Schwinge <tschwinge@gnu.org>
|
2008-12-18 Thomas Schwinge <tschwinge@gnu.org>
|
||||||
|
|
||||||
|
@ -33,7 +33,9 @@
|
|||||||
#include <support/temp_file.h>
|
#include <support/temp_file.h>
|
||||||
#include <support/test-driver.h>
|
#include <support/test-driver.h>
|
||||||
#include <support/xunistd.h>
|
#include <support/xunistd.h>
|
||||||
|
#ifdef CLONE_NEWNS
|
||||||
# include <sys/mount.h>
|
# include <sys/mount.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Boolean flags which indicate whether to use pointers with explicit
|
/* Boolean flags which indicate whether to use pointers with explicit
|
||||||
output flags. */
|
output flags. */
|
||||||
|
Reference in New Issue
Block a user