summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-06-08 13:50:53 +0200
committerFelix Fietkau <nbd@openwrt.org>2014-06-08 13:50:53 +0200
commitdabd7dea6445aaa0e5b8d9add1872fa7393b3a85 (patch)
tree2d82854f3432d59d4dc5f063bf22725d0c113095
parenta0c33bdbc4873210598acdccb292ff77fb6bf624 (diff)
cgi: add _GNU_SOURCE define to fix build error on musl
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
-rw-r--r--cgi.c1
1 files changed, 1 insertions, 0 deletions
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 <libubox/blobmsg.h>
#include "uhttpd.h"