_BSD_SOURCE was added to allow the use of DT_DIR, but that was removed in e768b77068. While adding _DEFAULT_SOURCE as well works around problems with current glibc, neither is in fact needed nowadays.
e768b77068