Skip to content

Commit

Permalink
Add missing cstddef include in assumptions.h
Browse files Browse the repository at this point in the history
The inclusion of this header should not depend on the inclusion of other
headers that include cstddef themselves.
  • Loading branch information
TheCharlatan committed Mar 23, 2023
1 parent 18fb363 commit b202b3d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/compat/assumptions.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#ifndef BITCOIN_COMPAT_ASSUMPTIONS_H
#define BITCOIN_COMPAT_ASSUMPTIONS_H

#include <cstddef>
#include <limits>

// Assumption: We assume that the macro NDEBUG is not defined.
Expand Down

0 comments on commit b202b3d

Please sign in to comment.