diff --git a/Source/ThirdParty/ANGLE/src/common/mathutil.h b/Source/ThirdParty/ANGLE/src/common/mathutil.h index 7959da8bd..c983d93c5 100644 --- a/Source/ThirdParty/ANGLE/src/common/mathutil.h +++ b/Source/ThirdParty/ANGLE/src/common/mathutil.h @@ -16,6 +16,7 @@ #include #include #include +#include namespace gl { diff --git a/Source/WebCore/xml/XSLTProcessor.h b/Source/WebCore/xml/XSLTProcessor.h index cffd1c45d..72408de42 100644 --- a/Source/WebCore/xml/XSLTProcessor.h +++ b/Source/WebCore/xml/XSLTProcessor.h @@ -64,7 +64,7 @@ public: void reset(); - static void parseErrorFunc(void* userData, xmlError*); + static void parseErrorFunc(void* userData, const xmlError*); static void genericErrorFunc(void* userData, const char* msg, ...); // Only for libXSLT callbacks diff --git a/Source/WebCore/xml/XSLTProcessorLibxslt.cpp b/Source/WebCore/xml/XSLTProcessorLibxslt.cpp index 8587b006c..5b6d296a3 100644 --- a/Source/WebCore/xml/XSLTProcessorLibxslt.cpp +++ b/Source/WebCore/xml/XSLTProcessorLibxslt.cpp @@ -78,7 +78,7 @@ void XSLTProcessor::genericErrorFunc(void*, const char*, ...) // It would be nice to do something with this error message. } -void XSLTProcessor::parseErrorFunc(void* userData, xmlError* error) +void XSLTProcessor::parseErrorFunc(void* userData, const xmlError* error) { PageConsoleClient* console = static_cast(userData); if (!console)