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 9fb9c010d8bceac8487881e1ef2253ef04f3c258..c2b7edfc34ca845f165407063aabe256b982e1b3 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>