limit GNU_SOURCE & note that it needs BSD testing