Check would fail with compilers using -Werror since _GNU_SOURCE is
needed for this function.
(From OE-Core rev: f820e177f9d1d1f1c3c9411003e44d04961e1ba4)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>