Skip to content

Commit

Permalink
Fix #1558: Don't assume inclusion of cstdint
Browse files Browse the repository at this point in the history
With last versions of gcc, some headers don't include cstdint anymore,
but some sources assume that it is.

Signed-off-by: ctxnop <ctxnop@gmail.com>
  • Loading branch information
ctxnop authored and m-blaha committed May 16, 2023
1 parent 3b8e59a commit 779ea10
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions libdnf/conf/ConfigMain.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
#include "OptionString.hpp"
#include "OptionStringList.hpp"

#include <cstdint>
#include <memory>

namespace libdnf {
Expand Down
1 change: 1 addition & 0 deletions libdnf/conf/ConfigRepo.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
#include "ConfigMain.hpp"
#include "OptionChild.hpp"

#include <cstdint>
#include <memory>

namespace libdnf {
Expand Down
2 changes: 2 additions & 0 deletions libdnf/conf/OptionSeconds.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@

#include "OptionNumber.hpp"

#include <cstdint>

namespace libdnf {

/**
Expand Down

0 comments on commit 779ea10

Please sign in to comment.