Append _ALL_SOURCE, _POSIX_PTHREAD_SEMANTICS to list of required definitions.
Append __EXTENSIONS__ to list of required definitions.