mirror of https://github.com/adamdruppe/arsd.git
need another header
This commit is contained in:
parent
f0116eb0c7
commit
506e06091e
1
cgi.d
1
cgi.d
|
@ -2708,6 +2708,7 @@ mixin template CustomCgiMainImpl(CustomCgi, alias fun, long maxContentLength = d
|
|||
version(embedded_httpd_processes) {
|
||||
import core.sys.posix.unistd;
|
||||
import core.sys.posix.sys.socket;
|
||||
import core.sys.posix.netinet.in_;
|
||||
//import std.c.linux.socket;
|
||||
|
||||
int sock = socket(AF_INET, SOCK_STREAM, 0);
|
||||
|
|
Loading…
Reference in New Issue