possible fix

This commit is contained in:
Adam D. Ruppe 2013-08-09 10:47:49 -04:00
parent e3c0800a80
commit aa161dc53b
1 changed files with 4 additions and 0 deletions

4
cgi.d
View File

@ -2542,6 +2542,8 @@ mixin template CustomCgiMain(CustomCgi, alias fun, long maxContentLength = defau
version(fastcgi) {
// SetHandler fcgid-script
FCGX_Init();
FCGX_Stream* input, output, error;
FCGX_ParamArray env;
@ -2725,6 +2727,8 @@ version(fastcgi) {
alias char** FCGX_ParamArray;
void FCGX_Init();
c_int FCGX_Accept(FCGX_Stream** stdin, FCGX_Stream** stdout, FCGX_Stream** stderr, FCGX_ParamArray* envp);
c_int FCGX_GetChar(FCGX_Stream* stream);
c_int FCGX_PutStr(const ubyte* str, c_int n, FCGX_Stream* stream);