uclient-fetch: define _GNU_SOURCE (used for asprintf)
authorFelix Fietkau <nbd@openwrt.org>
Fri, 9 May 2014 00:16:51 +0000 (02:16 +0200)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 9 May 2014 00:16:51 +0000 (02:16 +0200)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
uclient-fetch.c

index d4db108..881b4ea 100644 (file)
@@ -16,6 +16,7 @@
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
+#define _GNU_SOURCE
 #include <unistd.h>
 #include <stdio.h>
 #include <dlfcn.h>