From 069a6c525e927b491eaa6316395ae089063937f5 Mon Sep 17 00:00:00 2001 From: Brandon Hamm Date: Tue, 25 Mar 2014 19:28:23 -0500 Subject: [PATCH] Fixing compilation errors on Windows/VisualStudio (msvc2013/Win64 specifically) - missing include for std::min and std::max --- src/osgPPU/UnitInMipmapOut.cpp | 3 ++- src/osgPPU/UnitMipmapInMipmapOut.cpp | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/osgPPU/UnitInMipmapOut.cpp b/src/osgPPU/UnitInMipmapOut.cpp index a364898..c9d2bc1 100644 --- a/src/osgPPU/UnitInMipmapOut.cpp +++ b/src/osgPPU/UnitInMipmapOut.cpp @@ -9,7 +9,7 @@ * This library is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU Lesse General Public License for more details. * + * GNU Lesser General Public License for more details. * * * * The full license is in LICENSE file included with this distribution. * ***************************************************************************/ @@ -18,6 +18,7 @@ #include #include +#include namespace osgPPU { diff --git a/src/osgPPU/UnitMipmapInMipmapOut.cpp b/src/osgPPU/UnitMipmapInMipmapOut.cpp index 725dea5..6e82fe1 100644 --- a/src/osgPPU/UnitMipmapInMipmapOut.cpp +++ b/src/osgPPU/UnitMipmapInMipmapOut.cpp @@ -18,6 +18,7 @@ #include #include +#include namespace osgPPU {