Skip to content

Commit

Permalink
include: add missing modules.hh import to shard_id.hh
Browse files Browse the repository at this point in the history
The seastar/core/shard_id.hh header does not import other headers, but
it requires SEASTAR_MODULE_EXPORT_BEGIN and SEASTAR_MODULE_EXPORT_END
macros which are defined in seastar/util/modules.hh.

Make the header self-contained by adding the missing import.
  • Loading branch information
piodul authored and avikivity committed Feb 23, 2024
1 parent f0b2971 commit cb78f9e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/seastar/core/shard_id.hh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@

#pragma once

#include <seastar/util/modules.hh>

/// \file

namespace seastar {
Expand Down

0 comments on commit cb78f9e

Please sign in to comment.