While compat shims exist for systems outside linux to provide
both, these require extra linkage and we're currently not set
up for that, besides we have native kqueue impls where relevant
so it's probably best to just disable.
AC_CHECK_HEADERS([ \
execinfo.h \
mcheck.h \
-sys/inotify.h \
sys/signalfd.h \
sys/types.h \
sys/param.h \
asm/hwcap.h \
])
-if test "x${have_solaris}" != "xyes" ; then
+if test "x${have_linux}" = "xyes" ; then
+ AC_CHECK_HEADERS([sys/inotify.h])
AC_CHECK_HEADERS([sys/epoll.h])
fi