From: Felix Fietkau Date: Sun, 8 Jun 2014 11:50:53 +0000 (+0200) Subject: cgi: add _GNU_SOURCE define to fix build error on musl X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fuhttpd.git;a=commitdiff_plain;h=dabd7dea6445aaa0e5b8d9add1872fa7393b3a85 cgi: add _GNU_SOURCE define to fix build error on musl Signed-off-by: Felix Fietkau --- diff --git a/cgi.c b/cgi.c index 62be0a3..a2a7e50 100644 --- a/cgi.c +++ b/cgi.c @@ -17,6 +17,7 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#define _GNU_SOURCE #include #include "uhttpd.h"