From 6db5b54fc7210f2bd6b16d9ece5090ae873a490c Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 30 Sep 2018 00:32:21 +0200 Subject: [PATCH] Fix wxHTML benchmarks compilation wx/crt.h must be included to use wxSscanf(). --- tests/benchmarks/htmlparser/htmlpars.cpp | 1 + tests/benchmarks/htmlparser/htmltag.cpp | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/benchmarks/htmlparser/htmlpars.cpp b/tests/benchmarks/htmlparser/htmlpars.cpp index 7a259a593d..5e0b2dc798 100644 --- a/tests/benchmarks/htmlparser/htmlpars.cpp +++ b/tests/benchmarks/htmlparser/htmlpars.cpp @@ -21,6 +21,7 @@ #include "wx/app.h" #endif +#include "wx/crt.h" #include "wx/tokenzr.h" #include "wx/wfstream.h" #include "wx/url.h" diff --git a/tests/benchmarks/htmlparser/htmltag.cpp b/tests/benchmarks/htmlparser/htmltag.cpp index 485e37fa58..7a76bff3e9 100644 --- a/tests/benchmarks/htmlparser/htmltag.cpp +++ b/tests/benchmarks/htmlparser/htmltag.cpp @@ -15,9 +15,8 @@ #include "htmltag.h" #include "htmlpars.h" -#include // for vsscanf -#include +#include "wx/crt.h" //----------------------------------------------------------------------------- // wx28HtmlTagsCache