diff --git a/src/html/winpars.cpp b/src/html/winpars.cpp
index 2c20d8858f..5e723b76db 100644
--- a/src/html/winpars.cpp
+++ b/src/html/winpars.cpp
@@ -32,7 +32,7 @@
#include "wx/fontmap.h"
#include "wx/log.h"
#include "wx/settings.h"
-#include "wx/url.h"
+#include "wx/uri.h"
//-----------------------------------------------------------------------------