summaryrefslogtreecommitdiff
path: root/gnu/egcs/libstdc++/stl/bitset
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/egcs/libstdc++/stl/bitset')
-rw-r--r--gnu/egcs/libstdc++/stl/bitset3
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/egcs/libstdc++/stl/bitset b/gnu/egcs/libstdc++/stl/bitset
index e26845ed045..8b4f8b1a0f8 100644
--- a/gnu/egcs/libstdc++/stl/bitset
+++ b/gnu/egcs/libstdc++/stl/bitset
@@ -36,6 +36,7 @@
#include <stddef.h> // for size_t
+#include <limits.h> // for CHAR_BIT
#include <string>
#include <stdexcept> // for invalid_argument, out_of_range, overflow_error
#include <iostream.h> // for istream, ostream
@@ -568,6 +569,8 @@ private:
public:
// bit reference:
+ class reference;
+ friend class reference;
class reference {
friend class bitset;