mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
[3.13] gh-93312: Include <sys/pidfd.h> to get PIDFD_NONBLOCK (GH-127593) (#127630)
gh-93312: Include <sys/pidfd.h> to get PIDFD_NONBLOCK (GH-127593)
(cherry picked from commit fcbe6ecdb6
)
Co-authored-by: Victor Stinner <vstinner@python.org>
This commit is contained in:
parent
1182c64181
commit
3e11b5c2ba
5 changed files with 15 additions and 1 deletions
6
configure
generated
vendored
6
configure
generated
vendored
|
@ -10980,6 +10980,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