config: define _GNU_SOURCE for asprintf
authorFelix Fietkau <nbd@openwrt.org>
Tue, 7 Oct 2014 12:10:06 +0000 (14:10 +0200)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 7 Oct 2014 12:10:06 +0000 (14:10 +0200)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
config.c

index 9fb9c01..c2b7edf 100644 (file)
--- a/config.c
+++ b/config.c
@@ -11,6 +11,7 @@
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
  */
+#define _GNU_SOURCE
 #include <string.h>
 #include <stdlib.h>
 #include <stdio.h>