mirror of https://github.com/adamdruppe/arsd.git
use new name for socket header
This commit is contained in:
parent
47e093c030
commit
f0116eb0c7
4
cgi.d
4
cgi.d
|
@ -2707,8 +2707,8 @@ mixin template CustomCgiMainImpl(CustomCgi, alias fun, long maxContentLength = d
|
||||||
} else
|
} else
|
||||||
version(embedded_httpd_processes) {
|
version(embedded_httpd_processes) {
|
||||||
import core.sys.posix.unistd;
|
import core.sys.posix.unistd;
|
||||||
//import core.sys.posix.sys.socket;
|
import core.sys.posix.sys.socket;
|
||||||
import std.c.linux.socket;
|
//import std.c.linux.socket;
|
||||||
|
|
||||||
int sock = socket(AF_INET, SOCK_STREAM, 0);
|
int sock = socket(AF_INET, SOCK_STREAM, 0);
|
||||||
if(sock == -1)
|
if(sock == -1)
|
||||||
|
|
Loading…
Reference in New Issue