diff --git a/src/common/debugrpt.cpp b/src/common/debugrpt.cpp index 6cc89cfd01..717f7d1b13 100644 --- a/src/common/debugrpt.cpp +++ b/src/common/debugrpt.cpp @@ -30,7 +30,7 @@ #include "wx/utils.h" #endif // WX_PRECOMP -#if wxUSE_DEBUGREPORT +#if wxUSE_DEBUGREPORT && wxUSE_XML #include "wx/debugrpt.h"