Add "#define _GNU_SOURCE" before