projects
/
project
/
cgi-io.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2ac581
)
cgi-io: fix compilation against uClibc
author
Jo-Philipp Wich
<jo@mein.io>
Thu, 27 Feb 2020 11:38:15 +0000
(12:38 +0100)
committer
Jo-Philipp Wich
<jo@mein.io>
Thu, 27 Feb 2020 11:38:15 +0000
(12:38 +0100)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Makefile
patch
|
blob
|
history
src/main.c
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index 32498bc8e577229c6d949f4d5181d7050644af15..814a1b2f5402cabf00092454e03a32c1f8041605 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-8,7
+8,7
@@
include $(TOPDIR)/rules.mk
PKG_NAME:=cgi-io
-PKG_RELEASE:=1
8
+PKG_RELEASE:=1
9
PKG_LICENSE:=GPL-2.0-or-later
diff --git
a/src/main.c
b/src/main.c
index d45c67b85f345110a54a30e8d077abcbea559c8b..549121f94488173ba3f209929e93299452414f87 100644
(file)
--- a/
src/main.c
+++ b/
src/main.c
@@
-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