summaryrefslogtreecommitdiff
path: root/src/microhttpd/daemon.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/microhttpd/daemon.c')
-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,
}
+#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().
*