From 2dfa5724e3f10a8d9dad427df9e8cc0085e78892 Mon Sep 17 00:00:00 2001 From: gdd Date: Thu, 7 Jun 2012 11:26:29 +0000 Subject: [PATCH] Fix for compilation with gcc 4.7 --- src/MEDLoader/SauvMedConvertor.cxx | 1 + src/MEDLoader/Test/SauvLoaderTest.cxx | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) 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 -- 2.39.2