--- efl-1.18.5/src/lib/ecore/ecore_main.c.orig 2017-05-07 01:00:01.851352468 +0200 +++ efl-1.18.5/src/lib/ecore/ecore_main.c 2017-05-07 01:00:36.799300664 +0200 @@ -61,7 +61,8 @@ #include "Ecore.h" #include "ecore_private.h" -#if defined(HAVE_SYS_EPOLL_H) && !defined(HAVE_LIBUV) +// We do not want epoll on illumos +#if defined(HAVE_SYS_EPOLL_H) && !defined(HAVE_LIBUV) && !defined(__sun) # define HAVE_EPOLL 1 # include #else