cgi-io: fix compilation against uClibc
[project/cgi-io.git] / src / main.c
index d45c67b85f345110a54a30e8d077abcbea559c8b..549121f94488173ba3f209929e93299452414f87 100644 (file)
 
 #include "multipart_parser.h"
 
+#ifndef O_TMPFILE
+#define O_TMPFILE      (020000000 | O_DIRECTORY)
+#endif
+
 #define READ_BLOCK 4096
 #define POST_LIMIT 131072