diff --git a/dep/g3dlite/include/G3D/g3dmath.h b/dep/g3dlite/include/G3D/g3dmath.h index 54cc6ed370..002cd3858d 100644 --- a/dep/g3dlite/include/G3D/g3dmath.h +++ b/dep/g3dlite/include/G3D/g3dmath.h @@ -27,6 +27,7 @@ #include "G3D/platform.h" #include #include +#include #include #include #include diff --git a/dep/g3dlite/source/debugAssert.cpp b/dep/g3dlite/source/debugAssert.cpp index cfccf9a0cc..3c3e43a0af 100644 --- a/dep/g3dlite/source/debugAssert.cpp +++ b/dep/g3dlite/source/debugAssert.cpp @@ -99,7 +99,7 @@ static void createErrorMessage( } // Make sure the message got translated into something. - LPTSTR realLastErr; + LPCTSTR realLastErr; if (NULL != formatMsg) { realLastErr = formatMsg; } else {