This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [hurd,commited] hurd: Fix support/support_enter_mount_namespace.c build


On Thu, 4 Jan 2018, Samuel Thibault wrote:

> +#ifdef CLONE_NEWNS
>  #include <sys/mount.h>
> +#endif /* CLONE_NEWNS */

We use preprocessor indentation inside #if, so making a #include 
conditional requires changing it to "# include", and likewise when making 
any other preprocessor directives conditional (other than when the outer 
#if is a header's multiple-include guard).

-- 
Joseph S. Myers
joseph@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]