aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2023-05-25 13:22:58 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2023-06-01 13:00:48 +0300
commit5da716e8c2267a1b8a2fe82506e872c8491645c2 (patch)
tree8ba4b18ff4974b81b52c3d7535d8894e8c3a7ff0
parent79c57fad8d5d225573fa1277f72211e511a4564a (diff)
downloadlibmicrohttpd-5da716e8c2267a1b8a2fe82506e872c8491645c2.tar.gz
libmicrohttpd-5da716e8c2267a1b8a2fe82506e872c8491645c2.zip
Fixed compiler warning when built without poll() support
-rw-r--r--src/microhttpd/daemon.c3
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,
4139} 4139}
4140 4140
4141 4141
4142#if defined(HAVE_POLL) || defined(EPOLL_SUPPORT)
4142/** 4143/**
4143 * Obtain timeout value for external polling function for this daemon. 4144 * Obtain timeout value for external polling function for this daemon.
4144 * 4145 *
@@ -4301,6 +4302,8 @@ get_timeout_millisec_int (struct MHD_Daemon *daemon,
4301} 4302}
4302 4303
4303 4304
4305#endif /* HAVE_POLL || EPOLL_SUPPORT */
4306
4304/** 4307/**
4305 * Internal version of #MHD_run_from_select(). 4308 * Internal version of #MHD_run_from_select().
4306 * 4309 *