Skip to content

Commit

Permalink
include: include used headers
Browse files Browse the repository at this point in the history
in b822c94, we removed some "#include":s in std-compat.hh. despite
that the Seastar library and all tests still compile. some header are
not self-contained anymore.

Signed-off-by: Kefu Chai <[email protected]>

Closes scylladb#2268
  • Loading branch information
tchaikov authored and xemul committed May 25, 2024
1 parent 532b795 commit f583e21
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
3 changes: 2 additions & 1 deletion include/seastar/core/report_exception.hh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@

#pragma once

#include <seastar/util/std-compat.hh>
#include <exception>
#include <string_view>

namespace seastar {

Expand Down
1 change: 1 addition & 0 deletions include/seastar/core/timer.hh
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
#ifndef SEASTAR_MODULE
#include <boost/intrusive/list.hpp>
#include <chrono>
#include <optional>
#endif

/// \file
Expand Down
4 changes: 1 addition & 3 deletions include/seastar/util/optimized_optional.hh
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,10 @@

#pragma once

#include <seastar/util/std-compat.hh>
#include <seastar/util/modules.hh>
#ifndef SEASTAR_MODULE
#include <concepts>
#include <iostream>
#include <memory>
#include <optional>
#include <type_traits>
#include <fmt/core.h>
#endif
Expand Down

0 comments on commit f583e21

Please sign in to comment.