cgi: add _GNU_SOURCE define to fix build error on musl
authorFelix Fietkau <nbd@openwrt.org>
Sun, 8 Jun 2014 11:50:53 +0000 (13:50 +0200)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 8 Jun 2014 11:50:53 +0000 (13:50 +0200)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
cgi.c

diff --git a/cgi.c b/cgi.c
index 62be0a376f77c6c3f31478c74377744a6379f27a..a2a7e508ecdb37d79c6174fc74b614e7c7b22327 100644 (file)
--- 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 <libubox/blobmsg.h>
 #include "uhttpd.h"