Merge pull request #11451 from jow-/cgi-io-fix-uclibc
cgi-io: fix compilation against uClibc
This commit is contained in:
commit
c164b2087e
2 changed files with 5 additions and 1 deletions
|
@ -8,7 +8,7 @@
|
||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=cgi-io
|
PKG_NAME:=cgi-io
|
||||||
PKG_RELEASE:=18
|
PKG_RELEASE:=19
|
||||||
|
|
||||||
PKG_LICENSE:=GPL-2.0-or-later
|
PKG_LICENSE:=GPL-2.0-or-later
|
||||||
|
|
||||||
|
|
|
@ -37,6 +37,10 @@
|
||||||
|
|
||||||
#include "multipart_parser.h"
|
#include "multipart_parser.h"
|
||||||
|
|
||||||
|
#ifndef O_TMPFILE
|
||||||
|
#define O_TMPFILE (020000000 | O_DIRECTORY)
|
||||||
|
#endif
|
||||||
|
|
||||||
#define READ_BLOCK 4096
|
#define READ_BLOCK 4096
|
||||||
#define POST_LIMIT 131072
|
#define POST_LIMIT 131072
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue