From: Sami Kerola Date: Mon, 25 Nov 2019 20:33:05 +0000 (+0000) Subject: build-sys: add missing NR underscore to UL_CHECK_SYSCALL() X-Git-Tag: v2.35-rc1~19^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ca27517aae3e53179d9ebaa03d8956f870c83725;p=thirdparty%2Futil-linux.git build-sys: add missing NR underscore to UL_CHECK_SYSCALL() The unistd.h defines system call numbers with two leading underscores. Signed-off-by: Sami Kerola --- diff --git a/m4/ul.m4 b/m4/ul.m4 index ef9798ec55..7e9aa1d391 100644 --- a/m4/ul.m4 +++ b/m4/ul.m4 @@ -105,8 +105,8 @@ AC_DEFUN([UL_CHECK_SYSCALL], [ [syscall=SYS_$1], [dnl Our libc failed use, so see if we can get the kernel dnl headers to play ball ... - _UL_SYSCALL_CHECK_DECL([_NR_$1], - [syscall=_NR_$1], + _UL_SYSCALL_CHECK_DECL([__NR_$1], + [syscall=__NR_$1], [ syscall=no if test "x$linux_os" = xyes; then