Is the `defined(_GNU_SOURCE)` necessary here?