GUACAMOLE-325: Check whether poll() is defined.

This commit is contained in:
Michael Jumper 2017-06-12 13:38:26 -07:00
parent 6236eb8f98
commit 50d2dd51cb

View File

@ -107,6 +107,11 @@ AC_CHECK_DECL([cairo_format_stride_for_width],
[Whether cairo_format_stride_for_width() is defined])],,
[#include <cairo/cairo.h>])
AC_CHECK_DECL([poll],
[AC_DEFINE([HAVE_POLL],,
[Whether poll() is defined])],,
[#include <poll.h>])
# Typedefs
AC_TYPE_SIZE_T
AC_TYPE_SSIZE_T