diff options
author | Yang Tse <yangsita@gmail.com> | 2008-01-22 14:52:54 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2008-01-22 14:52:54 +0000 |
commit | bdb2beb8e4b2f8a2f2ffb47e43046893498ee62d (patch) | |
tree | 03e4ed54d3d613b156b16d1b8a85eb9202789e5c /src | |
parent | 727e23322f98f961891c4cba2b1a438237b2c32e (diff) |
check availability of poll.h header at configuration time, and include
it when sys/poll.h is unavailable
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 <sys/poll.h> +#elif defined(HAVE_POLL_H) +#include <poll.h> #endif #ifdef HAVE_LOCALE_H |