diff --git a/source/eventcore/drivers/posix/sockets.d b/source/eventcore/drivers/posix/sockets.d index 6137c0f..65c5157 100644 --- a/source/eventcore/drivers/posix/sockets.d +++ b/source/eventcore/drivers/posix/sockets.d @@ -27,6 +27,7 @@ version (Posix) { { version (linux) enum O_CLOEXEC = 0x80000; else version (FreeBSD) enum O_CLOEXEC = 0x100000; + else version (Solaris) enum O_CLOEXEC = 0x800000; else version (DragonFlyBSD) enum O_CLOEXEC = 0x0020000; else version (NetBSD) enum O_CLOEXEC = 0x400000; else version (OpenBSD) enum O_CLOEXEC = 0x10000;