diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2023-05-25 13:22:58 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2023-06-01 13:00:48 +0300 |
commit | 5da716e8c2267a1b8a2fe82506e872c8491645c2 (patch) | |
tree | 8ba4b18ff4974b81b52c3d7535d8894e8c3a7ff0 | |
parent | 79c57fad8d5d225573fa1277f72211e511a4564a (diff) |
Fixed compiler warning when built without poll() support
-rw-r--r-- | src/microhttpd/daemon.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c index b14e68f3..14ef7e2a 100644 --- a/src/microhttpd/daemon.c +++ b/src/microhttpd/daemon.c @@ -4139,6 +4139,7 @@ MHD_get_timeout64 (struct MHD_Daemon *daemon, } +#if defined(HAVE_POLL) || defined(EPOLL_SUPPORT) /** * Obtain timeout value for external polling function for this daemon. * @@ -4301,6 +4302,8 @@ get_timeout_millisec_int (struct MHD_Daemon *daemon, } +#endif /* HAVE_POLL || EPOLL_SUPPORT */ + /** * Internal version of #MHD_run_from_select(). * |