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 d4db10834953c33c71ef0a4a1207d42abf563194..881b4ea2b4c44500ae76a47825c4a8409ea6f3e4 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>