[PATCH] riscv: Use __has_include__ to include <asm/syscalls.h> [BZ #24022]
Joseph Myers
joseph@codesourcery.com
Mon Dec 31 17:34:00 GMT 2018
On Fri, 21 Dec 2018, H.J. Lu wrote:
> +#if __has_include__ (<asm/syscalls.h>)
> #include <asm/syscalls.h>
> +#else
> +#include <asm/unistd.h>
> +#endif
Missing preprocessor indentation, "# include", in both halves of the #if.
OK with that fixed, please commit, given that the asm/syscalls.h header is
in fact not in 4.20.
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Libc-alpha
mailing list