From 5840ef5f38cb6bec827358f2dcbc98e4fd20909d Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 31 Oct 2011 16:14:25 +0200 Subject: Add support for different plugin include paths in GCC 4.6.x --- odb/gcc.hxx | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/odb/gcc.hxx b/odb/gcc.hxx index 7967b74..fa37c67 100644 --- a/odb/gcc.hxx +++ b/odb/gcc.hxx @@ -33,8 +33,15 @@ extern "C" #include #include -#include -#include + +#if BUILDING_GCC_MAJOR > 4 || BUILDING_GCC_MAJOR == 4 && BUILDING_GCC_MINOR > 5 +# include +# include +#else +# include +# include +#endif + #include } -- cgit v1.1