diff options
Diffstat (limited to 'src/lib/daemon_poll.c')
-rw-r--r-- | src/lib/daemon_poll.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/daemon_poll.c b/src/lib/daemon_poll.c index ba061729..63747bd0 100644 --- a/src/lib/daemon_poll.c +++ b/src/lib/daemon_poll.c | |||
@@ -24,6 +24,9 @@ | |||
24 | #include "internal.h" | 24 | #include "internal.h" |
25 | #include "daemon_poll.h" | 25 | #include "daemon_poll.h" |
26 | #include "request_resume.h" | 26 | #include "request_resume.h" |
27 | #include "connection_add.h" | ||
28 | #include "connection_finish_forward.h" | ||
29 | |||
27 | 30 | ||
28 | #ifdef HAVE_POLL | 31 | #ifdef HAVE_POLL |
29 | 32 | ||
@@ -463,7 +466,6 @@ void | |||
463 | MHD_daemon_upgrade_connection_with_poll_ (struct MHD_Connection *con) | 466 | MHD_daemon_upgrade_connection_with_poll_ (struct MHD_Connection *con) |
464 | { | 467 | { |
465 | struct MHD_UpgradeResponseHandle *urh = con->request.urh; | 468 | struct MHD_UpgradeResponseHandle *urh = con->request.urh; |
466 | struct MHD_Daemon *daemon = con->daemon; | ||
467 | struct pollfd p[2]; | 469 | struct pollfd p[2]; |
468 | 470 | ||
469 | memset (p, | 471 | memset (p, |