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
parent
commit
c164b2087e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
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 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


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

@ -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…
Cancel
Save