Merge pull request #106 from rracariu/patch-1

Import the druntime core.sys.posix.sys.socket
merged-on-behalf-of: Sönke Ludwig <s-ludwig@users.noreply.github.com>
This commit is contained in:
The Dlang Bot 2019-03-14 16:32:42 +01:00 committed by GitHub
commit 87b0814ebf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,6 +19,7 @@ version (Posix) {
import core.sys.posix.unistd : close, read, write;
import core.stdc.errno : errno, EAGAIN, EINPROGRESS;
import core.sys.posix.fcntl;
import core.sys.posix.sys.socket;
version (linux) enum SO_REUSEPORT = 15;
else enum SO_REUSEPORT = 0x200;