diff -ur a/src/plugins/litehtml_viewer/litehtml/element.h c/src/plugins/litehtml_viewer/litehtml/element.h
--- a/src/plugins/litehtml_viewer/litehtml/element.h 2021-09-16 12:20:13.000000000 +0200
+++ c/src/plugins/litehtml_viewer/litehtml/element.h 2023-06-21 13:01:37.930883218 +0200
@@ -2,6 +2,7 @@
#define LH_ELEMENT_H
#include
+#include
#include "stylesheet.h"
#include "css_offsets.h"
@@ -17,9 +18,9 @@
friend class el_table;
friend class document;
public:
- typedef std::shared_ptr ptr;
- typedef std::shared_ptr const_ptr;
- typedef std::weak_ptr weak_ptr;
+ typedef std::shared_ptr ptr;
+ typedef std::shared_ptr const_ptr;
+ typedef std::weak_ptr weak_ptr;
protected:
std::weak_ptr m_parent;
std::weak_ptr m_doc;
@@ -131,7 +132,7 @@
virtual css_length get_css_height() const;
virtual void set_attr(const tchar_t* name, const tchar_t* val);
- virtual const tchar_t* get_attr(const tchar_t* name, const tchar_t* def = 0) const;
+ virtual const tchar_t* get_attr(const tchar_t* name, const tchar_t* def = 0) const;
virtual void apply_stylesheet(const litehtml::css& stylesheet);
virtual void refresh_styles();
virtual bool is_white_space() const;
diff -ur a/src/plugins/litehtml_viewer/litehtml/html.h c/src/plugins/litehtml_viewer/litehtml/html.h
--- a/src/plugins/litehtml_viewer/litehtml/html.h 2021-09-16 12:20:13.000000000 +0200
+++ c/src/plugins/litehtml_viewer/litehtml/html.h 2023-06-21 12:50:28.601801742 +0200
@@ -7,6 +7,7 @@
#include
#include