Commit 0eb47346 authored by Cheah Kok Cheong's avatar Cheah Kok Cheong Committed by Michal Marek

Scripts: kconfig: nconf: fix _GNU_SOURCE redefined warning

Fix below warning when make nconfig is run initially
or after make clean.

  HOSTCC  scripts/kconfig/nconf.o
scripts/kconfig/nconf.c:8:0: warning: "_GNU_SOURCE" redefined
 #define _GNU_SOURCE
 ^
<command-line>:0:0: note: this is the location of the previous definition
Signed-off-by: default avatarCheah Kok Cheong <thrust73@gmail.com>
Signed-off-by: default avatarMichal Marek <mmarek@suse.com>
parent 1001354c
...@@ -5,7 +5,9 @@ ...@@ -5,7 +5,9 @@
* Derived from menuconfig. * Derived from menuconfig.
* *
*/ */
#ifndef _GNU_SOURCE
#define _GNU_SOURCE #define _GNU_SOURCE
#endif
#include <string.h> #include <string.h>
#include <stdlib.h> #include <stdlib.h>
......
Markdown is supported
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