Import the druntime core.sys.posix.sys.socket
This will pickup platform specific definitions from the
This commit is contained in:
parent
5f703cf039
commit
11ad96be4d
|
@ -19,6 +19,7 @@ version (Posix) {
|
||||||
import core.sys.posix.unistd : close, read, write;
|
import core.sys.posix.unistd : close, read, write;
|
||||||
import core.stdc.errno : errno, EAGAIN, EINPROGRESS;
|
import core.stdc.errno : errno, EAGAIN, EINPROGRESS;
|
||||||
import core.sys.posix.fcntl;
|
import core.sys.posix.fcntl;
|
||||||
|
import core.sys.posix.sys.socket;
|
||||||
|
|
||||||
version (linux) enum SO_REUSEPORT = 15;
|
version (linux) enum SO_REUSEPORT = 15;
|
||||||
else enum SO_REUSEPORT = 0x200;
|
else enum SO_REUSEPORT = 0x200;
|
||||||
|
|
Loading…
Reference in a new issue