diff --git a/include/proto/stream_interface.h b/include/proto/stream_interface.h index 9a67e813d..f408f96b6 100644 --- a/include/proto/stream_interface.h +++ b/include/proto/stream_interface.h @@ -29,7 +29,7 @@ /* main event functions used to move data between sockets and buffers */ -void stream_int_check_timeouts(struct stream_interface *si); +int stream_int_check_timeouts(struct stream_interface *si); void stream_int_report_error(struct stream_interface *si); void stream_int_return(struct stream_interface *si, const struct chunk *msg); void stream_int_retnclose(struct stream_interface *si, const struct chunk *msg); diff --git a/src/stream_interface.c b/src/stream_interface.c index 2b14d2d44..76f447d32 100644 --- a/src/stream_interface.c +++ b/src/stream_interface.c @@ -29,6 +29,7 @@ #include #include #include +#include #include #include