summaryrefslogtreecommitdiff
path: root/uclient-fetch.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-05-09 02:16:51 +0200
committerFelix Fietkau <nbd@openwrt.org>2014-05-09 02:16:51 +0200
commitec7cbc31be11243c99a3eeee52aaa009b5a4180f (patch)
treee079167eea16e6cc12378fbc744f2e8e101d84f3 /uclient-fetch.c
parent89206c007782709a530c46254115c371c83eaf93 (diff)
downloaduclient-ec7cbc31be11243c99a3eeee52aaa009b5a4180f.tar.gz
uclient-fetch: define _GNU_SOURCE (used for asprintf)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Diffstat (limited to 'uclient-fetch.c')
-rw-r--r--uclient-fetch.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/uclient-fetch.c b/uclient-fetch.c
index d4db108..881b4ea 100644
--- a/uclient-fetch.c
+++ b/uclient-fetch.c
@@ -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>