revert: pidfd_open check

This change confused the pidfd_open check with the existance
of NR_pidfd_open
This commit is contained in:
Craig Small 2022-11-09 21:32:26 +11:00
parent 17f94796a9
commit d9c3e3676d
1 changed files with 1 additions and 1 deletions

View File

@ -160,7 +160,7 @@ AC_TRY_COMPILE([#include <errno.h>],
AC_MSG_RESULT(yes),
AC_MSG_RESULT(no))
AC_CHECK_FUNCS([pidfd_open], [enable_pidwait=yes], [
AC_CHECK_FUNC([pidfd_open], [enable_pidwait=yes], [
AC_MSG_CHECKING([for __NR_pidfd_open])
AC_COMPILE_IFELSE([AC_LANG_SOURCE([
#include <sys/syscall.h>