mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
gh-93312: Include <sys/pidfd.h> to get PIDFD_NONBLOCK (#127593)
This commit is contained in:
parent
1ef6e8ca3f
commit
fcbe6ecdb6
5 changed files with 15 additions and 1 deletions
6
configure
generated
vendored
6
configure
generated
vendored
|
@ -11178,6 +11178,12 @@ if test "x$ac_cv_header_sys_param_h" = xyes
|
|||
then :
|
||||
printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
|
||||
|
||||
fi
|
||||
ac_fn_c_check_header_compile "$LINENO" "sys/pidfd.h" "ac_cv_header_sys_pidfd_h" "$ac_includes_default"
|
||||
if test "x$ac_cv_header_sys_pidfd_h" = xyes
|
||||
then :
|
||||
printf "%s\n" "#define HAVE_SYS_PIDFD_H 1" >>confdefs.h
|
||||
|
||||
fi
|
||||
ac_fn_c_check_header_compile "$LINENO" "sys/poll.h" "ac_cv_header_sys_poll_h" "$ac_includes_default"
|
||||
if test "x$ac_cv_header_sys_poll_h" = xyes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue