summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-10-07 14:10:06 +0200
committerFelix Fietkau <nbd@openwrt.org>2014-10-07 14:10:06 +0200
commitbec8a74c53ec900acb0fb3e0c997393dc57f1263 (patch)
tree45a42f6ef1e5cbf57108508fce0fef73fb93ebe5
parent17b62be2fc7334443da7807cebd30372105f0a38 (diff)
config: define _GNU_SOURCE for asprintf
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
-rw-r--r--config.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/config.c b/config.c
index 9fb9c01..c2b7edf 100644
--- 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>