Browse Source

cgi-io: fix compilation against uClibc

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
lilik-openwrt-22.03
Jo-Philipp Wich 5 years ago
parent
commit
ed965cf16f
2 changed files with 5 additions and 1 deletions
  1. +1
    -1
      net/cgi-io/Makefile
  2. +4
    -0
      net/cgi-io/src/main.c

+ 1
- 1
net/cgi-io/Makefile View File

@ -8,7 +8,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=cgi-io
PKG_RELEASE:=18
PKG_RELEASE:=19
PKG_LICENSE:=GPL-2.0-or-later


+ 4
- 0
net/cgi-io/src/main.c View File

@ -37,6 +37,10 @@
#include "multipart_parser.h"
#ifndef O_TMPFILE
#define O_TMPFILE (020000000 | O_DIRECTORY)
#endif
#define READ_BLOCK 4096
#define POST_LIMIT 131072


Loading…
Cancel
Save