gh-93312: Include <sys/pidfd.h> to get PIDFD_NONBLOCK (#127593)

This commit is contained in:
Victor Stinner 2024-12-05 10:39:44 +01:00 committed by GitHub
parent 1ef6e8ca3f
commit fcbe6ecdb6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 15 additions and 1 deletions

View file

@ -73,6 +73,9 @@
#ifdef HAVE_SYS_TIME_H
# include <sys/time.h> // futimes()
#endif
#ifdef HAVE_SYS_PIDFD_H
# include <sys/pidfd.h> // PIDFD_NONBLOCK
#endif
// SGI apparently needs this forward declaration