summaryrefslogtreecommitdiff
path: root/boost/asio/detail/epoll_reactor.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/asio/detail/epoll_reactor.hpp')
-rw-r--r--boost/asio/detail/epoll_reactor.hpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/boost/asio/detail/epoll_reactor.hpp b/boost/asio/detail/epoll_reactor.hpp
index e1acb48da7..31a7b3dff3 100644
--- a/boost/asio/detail/epoll_reactor.hpp
+++ b/boost/asio/detail/epoll_reactor.hpp
@@ -2,7 +2,7 @@
// detail/epoll_reactor.hpp
// ~~~~~~~~~~~~~~~~~~~~~~~~
//
-// Copyright (c) 2003-2017 Christopher M. Kohlhoff (chris at kohlhoff dot com)
+// Copyright (c) 2003-2018 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
@@ -32,6 +32,10 @@
#include <boost/asio/detail/wait_op.hpp>
#include <boost/asio/execution_context.hpp>
+#if defined(BOOST_ASIO_HAS_TIMERFD)
+# include <sys/timerfd.h>
+#endif // defined(BOOST_ASIO_HAS_TIMERFD)
+
#include <boost/asio/detail/push_options.hpp>
namespace boost {