diff --git a/src/WeatherCM/linintp2.cpp b/src/WeatherCM/linintp2.cpp index 0c321f23c..10f610410 100644 --- a/src/WeatherCM/linintp2.cpp +++ b/src/WeatherCM/linintp2.cpp @@ -30,15 +30,17 @@ */ #include -#include +#include STL_IOSTREAM #include #include #include #include "linintp2.h" +#ifndef SG_HAVE_NATIVE_SGI_COMPILERS SG_USING_NAMESPACE(std); SG_USING_STD(cout); +#endif //--------------------------------------------------------------------------- mgcLinInterp2D::mgcLinInterp2D (int _numPoints, double* x, double* y, diff --git a/src/WeatherCM/sphrintp.cpp b/src/WeatherCM/sphrintp.cpp index 41ff38c83..9740a8b7b 100644 --- a/src/WeatherCM/sphrintp.cpp +++ b/src/WeatherCM/sphrintp.cpp @@ -30,13 +30,15 @@ */ #include -#include +#include STL_IOSTREAM #include #include "sphrintp.h" +#ifndef SG_HAVE_NATIVE_SGI_COMPILERS SG_USING_NAMESPACE(std); SG_USING_STD(cout); +#endif static const double PI = 4.0*atan(1.0); diff --git a/src/WeatherCM/sphrintp.h b/src/WeatherCM/sphrintp.h index 4f0e781c9..cf60e9e0c 100644 --- a/src/WeatherCM/sphrintp.h +++ b/src/WeatherCM/sphrintp.h @@ -33,13 +33,15 @@ #define SPHRINTP_H #include -#include +#include STL_IOSTREAM #include "linintp2.h" #include +#ifndef SG_HAVE_NATIVE_SGI_COMPILERS SG_USING_NAMESPACE(std); SG_USING_STD(cout); +#endif class SphereInterpolate