diff --git a/configure.ac b/configure.ac index 08002509..62c5335d 100644 --- a/configure.ac +++ b/configure.ac @@ -107,6 +107,11 @@ AC_CHECK_DECL([cairo_format_stride_for_width], [Whether cairo_format_stride_for_width() is defined])],, [#include ]) +AC_CHECK_DECL([poll], + [AC_DEFINE([HAVE_POLL],, + [Whether poll() is defined])],, + [#include ]) + # Typedefs AC_TYPE_SIZE_T AC_TYPE_SSIZE_T