Angel Pons has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/39183 )
Change subject: util/kconfig: Silence warning about _GNU_SOURCE ......................................................................
util/kconfig: Silence warning about _GNU_SOURCE
For some reason, this symbol gets redefined, which causes a warning. Hide the warning by checking whether it is already defined.
Change-Id: I70ffc9a799e0b536d6aba7d00f828bd6d915d94c Signed-off-by: Angel Pons th3fanbus@gmail.com --- M util/kconfig/nconf.c 1 file changed, 2 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/83/39183/1
diff --git a/util/kconfig/nconf.c b/util/kconfig/nconf.c index 905dcd1..42ea494 100644 --- a/util/kconfig/nconf.c +++ b/util/kconfig/nconf.c @@ -5,7 +5,9 @@ * Derived from menuconfig. * */ +#ifndef _GNU_SOURCE #define _GNU_SOURCE +#endif #include <string.h> #include <stdlib.h>