Browse Source
Merge pull request #11451 from jow-/cgi-io-fix-uclibc
cgi-io: fix compilation against uClibc
lilik-openwrt-22.03
Rosen Penev
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
5 additions and
1 deletions
-
net/cgi-io/Makefile
-
net/cgi-io/src/main.c
|
@ -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 |
|
|
|
|
|
|
|
|