aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk/io.h
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-11-17 06:33:07 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-11-17 06:33:07 +0000
commit1ccd0d8633d2f4d7f8c69838676bbbcfee001a50 (patch)
treed386269f08375e9b9476aff1b8a87ad8e8abd780 /include/asterisk/io.h
parent85a28052d3c1b1d8b1f923f99b0ad4405aacd875 (diff)
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: http://svn.digium.com/svn/asterisk/trunk@89361 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk/io.h')
-rw-r--r--include/asterisk/io.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asterisk/io.h b/include/asterisk/io.h
index 247d0de72..6f227dc2c 100644
--- a/include/asterisk/io.h
+++ b/include/asterisk/io.h
@@ -23,7 +23,7 @@
#ifndef _ASTERISK_IO_H
#define _ASTERISK_IO_H
-#ifdef HAVE_POLL
+#ifdef HAVE_SYS_POLL_H
#include <sys/poll.h> /* For POLL* constants */
#else
#include "asterisk/poll-compat.h"