ci: test -os linux cross compilation on macOS

This commit is contained in:
Alexander Medvednikov 2024-10-26 18:10:44 +03:00
parent d25f281b25
commit 2684ef94e3
4 changed files with 9 additions and 3 deletions

View file

@ -1,6 +1,7 @@
module picoev
#include <sys/epoll.h>
#include <sys/cdefs.h> // needed for cross compiling to linux
fn C.epoll_create(int) int
fn C.epoll_wait(int, voidptr, int, int) int