Skip to content
Commit 2032e61e authored by Mark Brown's avatar Mark Brown Committed by Shuah Khan
Browse files

kselftest/alsa: Ensure _GNU_SOURCE is defined

The pcmtest driver tests use the kselftest harness which requires that
_GNU_SOURCE is defined but nothing causes it to be defined.  Since the
KHDR_INCLUDES Makefile variable has had the required define added let's
use that, this should provide some futureproofing.

Fixes: daef47b8

 ("selftests: Compile kselftest headers with -D_GNU_SOURCE")
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
Reviewed-by: default avatarMuhammad Usama Anjum <usama.anjum@collabora.com>
Signed-off-by: default avatarShuah Khan <skhan@linuxfoundation.org>
parent 1613e604
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment