Skip to content

Commit

Permalink
Workarounds for gcc-13 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Bronek committed Nov 16, 2023
1 parent ac27089 commit 5c98061
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/ripple/app/misc/detail/Work.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
#ifndef RIPPLE_APP_MISC_DETAIL_WORK_H_INCLUDED
#define RIPPLE_APP_MISC_DETAIL_WORK_H_INCLUDED

// TODO: This include <cstdint> is a workaround for beast compilation bug.
// Remove when fix https://github.com/boostorg/beast/pull/2682/ is available.
#include <cstdint>

#include <boost/beast/http/message.hpp>
#include <boost/beast/http/string_body.hpp>

Expand Down
5 changes: 5 additions & 0 deletions src/ripple/beast/rfc2616.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,16 @@
#ifndef BEAST_RFC2616_HPP
#define BEAST_RFC2616_HPP

// TODO: This include <cstdint> is a workaround for beast compilation bug.
// Remove when fix https://github.com/boostorg/beast/pull/2682/ is available.
#include <cstdint>

#include <boost/beast/http/message.hpp>
#include <boost/beast/http/rfc7230.hpp>
#include <boost/range/algorithm/equal.hpp>
#include <boost/range/iterator_range.hpp>
#include <boost/utility/string_ref.hpp>

#include <algorithm>
#include <cctype>
#include <iterator>
Expand Down

0 comments on commit 5c98061

Please sign in to comment.