aboutsummaryrefslogtreecommitdiff
path: root/odb/gcc-fwd.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-02-07 13:07:12 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-02-07 13:07:12 +0200
commitee9c9f3db3eb4b689e565c282345b1f49bba5042 (patch)
tree2add5cd40b963dcd0f0a6e49a96f18180c1b96e5 /odb/gcc-fwd.hxx
parent00c779a294a86c2e9ce2d2a09216e169dd69a666 (diff)
Fix to work with GCC 5
Diffstat (limited to 'odb/gcc-fwd.hxx')
-rw-r--r--odb/gcc-fwd.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/odb/gcc-fwd.hxx b/odb/gcc-fwd.hxx
index fdb447a..a120f05 100644
--- a/odb/gcc-fwd.hxx
+++ b/odb/gcc-fwd.hxx
@@ -12,6 +12,10 @@
# include <config.h>
#endif
+#if BUILDING_GCC_MAJOR >= 5
+# include <stdint.h> // Needed by coretypes.h
+#endif
+
extern "C"
{
// The hwint.h header uses gcc_checking_assert macro from system.h. But