+# define TCB_CLONE_DETACHED 04000 /* CLONE_DETACHED set in creating syscall */
+# define TCB_CLONE_THREAD 010000 /* CLONE_THREAD set in creating syscall */
+# define TCB_GROUP_EXITING 020000 /* TCB_EXITING was exit_group, not _exit */
+# include <sys/syscall.h>
+# ifndef __NR_exit_group
+# /* Hack: Most headers around are too old to have __NR_exit_group. */
+# ifdef ALPHA
+# define __NR_exit_group 405
+# elif defined I386
+# define __NR_exit_group 252
+# elif defined IA64
+# define __NR_exit_group 1236
+# elif defined POWERPC
+# define __NR_exit_group 234
+# elif defined S390 || defined S390X
+# define __NR_exit_group 248
+# elif defined SPARC
+# define __NR_exit_group 188
+# endif /* ALPHA et al */
+# endif /* !__NR_exit_group */