Software / code / prosody
Diff
util/error.lua @ 12884:f5a75aaa8a25
util.poll: Include unistd.h only for epoll
This defines close(), which is only used with epoll, hence we don't need
to include it when building in poll or select mode.
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Fri, 10 Feb 2023 00:37:05 +0100 |
| parent | 11224:8143fd2f138b |
| child | 12975:d10957394a3c |
| child | 13078:6da83deb8d7f |