$NetBSD: patch-config.h.guess,v 1.1 2020/07/11 15:18:24 nia Exp $ Don't try to include sys/epoll.h on SunOS, since this breaks on SmartOS. --- config.h.guess.orig 2020-07-09 13:10:19.000000000 +0000 +++ config.h.guess @@ -472,7 +472,7 @@ #define HAVE_SYS_AUXV_H ag_test_include(, HAVE_SYS_AUXV_H_) #endif -#ifndef HAVE_SYS_EPOLL_H +#if !defined(HAVE_SYS_EPOLL_H) && !defined(__sun) #define HAVE_SYS_EPOLL_H ag_test_include(, __linux__) #endif