diff --git a/source/eventcore/drivers/posix/events.d b/source/eventcore/drivers/posix/events.d index ba51c7b..ce2cf7b 100644 --- a/source/eventcore/drivers/posix/events.d +++ b/source/eventcore/drivers/posix/events.d @@ -9,8 +9,7 @@ import eventcore.internal.utils : nogc_assert, mallocT, freeT; version (linux) { nothrow @nogc extern (C) int eventfd(uint initval, int flags); - enum EFD_NONBLOCK = 0x800; - enum EFD_CLOEXEC = 0x80000; + import core.sys.linux.sys.eventfd : EFD_NONBLOCK, EFD_CLOEXEC; } version (Posix) { import core.sys.posix.unistd : close, read, write;