Merge pull request #496 from smcv/missing-def

Allow building on old glibc without PR_SET_CHILD_SUBREAPER defined
This commit is contained in:
Simon McVittie
2022-05-10 16:23:02 +01:00
committed by GitHub
2 changed files with 8 additions and 0 deletions

View File

@@ -71,6 +71,10 @@
*/
#define WRONG_POINTER ((char *) 1)
#ifndef PR_GET_CHILD_SUBREAPER
#define PR_GET_CHILD_SUBREAPER 37
#endif
int
main (int argc, char **argv)
{