From: gdd Date: Thu, 7 Jun 2012 11:26:29 +0000 (+0000) Subject: Fix for compilation with gcc 4.7 X-Git-Tag: V6_main_FINAL~660 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=2dfa5724e3f10a8d9dad427df9e8cc0085e78892;p=tools%2Fmedcoupling.git Fix for compilation with gcc 4.7 --- diff --git a/src/MEDLoader/SauvMedConvertor.cxx b/src/MEDLoader/SauvMedConvertor.cxx index 0345cb180..446627a1f 100644 --- a/src/MEDLoader/SauvMedConvertor.cxx +++ b/src/MEDLoader/SauvMedConvertor.cxx @@ -45,6 +45,7 @@ #ifndef WNT #define HAS_XDR +#include #endif #ifdef HAS_XDR diff --git a/src/MEDLoader/Test/SauvLoaderTest.cxx b/src/MEDLoader/Test/SauvLoaderTest.cxx index abed31512..5fe7c1849 100644 --- a/src/MEDLoader/Test/SauvLoaderTest.cxx +++ b/src/MEDLoader/Test/SauvLoaderTest.cxx @@ -26,7 +26,9 @@ #include "MEDCouplingMemArray.hxx" #ifdef WNT -#include +# include +#else +# include #endif #include