Add configure tests for poll() (SF patch #100852)
diff --git a/configure.in b/configure.in
index 6f45634..bb341c6 100644
--- a/configure.in
+++ b/configure.in
@@ -367,7 +367,7 @@
 
 # checks for header files
 AC_HEADER_STDC
-AC_CHECK_HEADERS(dlfcn.h fcntl.h limits.h locale.h ncurses.h pthread.h \
+AC_CHECK_HEADERS(dlfcn.h fcntl.h limits.h locale.h ncurses.h poll.h pthread.h \
 signal.h stdarg.h stddef.h stdlib.h thread.h unistd.h utime.h \
 sys/audioio.h sys/file.h sys/lock.h \
 sys/param.h sys/select.h sys/socket.h sys/time.h sys/times.h \
@@ -872,7 +872,7 @@
  flock fork fsync fdatasync fpathconf ftime ftruncate \
  getgroups getlogin getpeername getpid getpwent getwd \
  kill link lstat mkfifo mktime mremap \
- nice pathconf pause plock pthread_init \
+ nice pathconf pause plock poll pthread_init \
  putenv readlink \
  select setegid seteuid setgid \
  setlocale setregid setreuid setsid setpgid setuid setvbuf \