From bdb2beb8e4b2f8a2f2ffb47e43046893498ee62d Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Tue, 22 Jan 2008 14:52:54 +0000 Subject: check availability of poll.h header at configuration time, and include it when sys/poll.h is unavailable --- src/main.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index 406740d98..4027ea42f 100644 --- a/src/main.c +++ b/src/main.c @@ -85,6 +85,8 @@ #ifdef HAVE_SYS_POLL_H #include +#elif defined(HAVE_POLL_H) +#include #endif #ifdef HAVE_LOCALE_H -- cgit v1.2.3