diff --git a/src/html/helpfrm.cpp b/src/html/helpfrm.cpp
index d0e25f3765..ab924b7ab7 100644
--- a/src/html/helpfrm.cpp
+++ b/src/html/helpfrm.cpp
@@ -731,7 +731,7 @@ bool wxHtmlHelpFrame::DisplayIndex()
return true;
}
-#include
+
void wxHtmlHelpFrame::DisplayIndexItem(const wxHtmlHelpMergedIndexItem *it)
{
if (it->items.size() == 1)