hurd: Fix support/support_enter_mount_namespace.c build

* support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
	include <sys/mount.h>.
This commit is contained in:
Samuel Thibault 2018-01-04 00:54:13 +01:00
parent 3c7d031294
commit 1714fc06e0
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
* support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
include <sys/mount.h>.
2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
* math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.

View file

@ -20,7 +20,9 @@
#include <sched.h>
#include <stdio.h>
#ifdef CLONE_NEWNS
#include <sys/mount.h>
#endif /* CLONE_NEWNS */
bool
support_enter_mount_namespace (void)