X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fdc1aa5209a89ce7ef2f91d6bf3ce7852438fa85..7802da36fa043e7fdc162a70e97821754a2f2f14:/include/wx/debugrpt.h?ds=inline

diff --git a/include/wx/debugrpt.h b/include/wx/debugrpt.h
index aa3787e1c7..86ecdb5ab3 100644
--- a/include/wx/debugrpt.h
+++ b/include/wx/debugrpt.h
@@ -13,9 +13,12 @@
 
 #include "wx/defs.h"
 
-#if wxUSE_DEBUGREPORT
+#if wxUSE_DEBUGREPORT && wxUSE_XML
 
-class WXDLLIMPEXP_XML wxXmlNode;
+#include "wx/string.h"
+#include "wx/arrstr.h"
+
+class WXDLLIMPEXP_FWD_XML wxXmlNode;
 
 // ----------------------------------------------------------------------------
 // wxDebugReport: generate a debug report, processing is done in derived class
@@ -227,7 +230,6 @@ public:
 
 #endif // wxUSE_GUI
 
-#endif // wxUSE_DEBUGREPORT
+#endif // wxUSE_DEBUGREPORT && wxUSE_XML
 
 #endif // _WX_DEBUGRPT_H_
-