From b260e04461412f2b15bea8a015d4782dfdf5be08 Mon Sep 17 00:00:00 2001 From: Vysheng Date: Mon, 8 Sep 2014 17:05:41 +0400 Subject: [PATCH] Added _GNU_SOURCE for strndup --- generate.c | 1 + 1 file changed, 1 insertion(+) diff --git a/generate.c b/generate.c index ac7e118..be8a27c 100644 --- a/generate.c +++ b/generate.c @@ -20,6 +20,7 @@ Copyright 2012-2013 Vkontakte Ltd 2012-2013 Vitaliy Valtman */ +#define _GNU_SOURCE #include #include