Update the configure script check for sys/poll.h to also provide the result in

include/asterisk/autoconfig.h.  Also, move the conditional include of sys/poll.h
or asterisk/poll-compat.h into asterisk/config.h instead of the two headers it
existed in before.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89361 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Russell Bryant
2007-11-17 06:33:07 +00:00
parent 89a49511a4
commit 505499588b
6 changed files with 29 additions and 8 deletions

View File

@@ -125,7 +125,7 @@ References:
#include "asterisk/abstract_jb.h"
#ifdef HAVE_POLL
#ifdef HAVE_SYS_POLL_H
#include <sys/poll.h>
#else
#include "asterisk/poll-compat.h"