fix @safe

This commit is contained in:
Radu Racariu 2019-02-12 19:55:32 +02:00 committed by GitHub
parent 6286c7980d
commit 07b09e8692
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,7 +8,8 @@ import eventcore.internal.utils : nogc_assert, mallocT, freeT;
version (linux) { version (linux) {
import core.sys.linux.sys.eventfd : eventfd, EFD_NONBLOCK, EFD_CLOEXEC; nothrow @nogc extern (C) int eventfd(uint initval, int flags);
import core.sys.linux.sys.eventfd : EFD_NONBLOCK, EFD_CLOEXEC;
} }
version (Posix) { version (Posix) {
import core.sys.posix.unistd : close, read, write; import core.sys.posix.unistd : close, read, write;