.BR feature_test_macros (7)):
.in
.sp
+.ad l
+.PD 0
.BR waitid ():
-_SVID_SOURCE || _XOPEN_SOURCE
+.RS 4
+.TP 4
+Since glibc 2.12:
+_POSIX_C_SOURCE\ >=\ 200809L ||
+_SVID_SOURCE ||
+_XOPEN_SOURCE\ >=\ 500 ||
+_XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
+.TP
+Before glibc 2.12:
+_SVID_SOURCE ||
+_XOPEN_SOURCE\ >=\ 500 ||
+_XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
+.RE
+.PD
+.ad
.SH DESCRIPTION
All of these system calls are used to wait for state changes
in a child of the calling process, and obtain information