diff --git a/indra/newview/lltoastalertpanel.h b/indra/newview/lltoastalertpanel.h
index 38a635e8a452d78d66ab88b63c8b7a22503e5bc8..2cd377b5a6e16afb3c3801c45c598b1433dbff26 100644
--- a/indra/newview/lltoastalertpanel.h
+++ b/indra/newview/lltoastalertpanel.h
@@ -42,6 +42,7 @@
 #include "llui.h"
 #include "llnotificationptr.h"
 #include "llalertdialog.h"
+#include "llerror.h"
 
 class LLButton;
 class LLCheckBoxCtrl;
@@ -59,6 +60,7 @@ class LLLineEditor;
 class LLToastAlertPanel
 	: public LLToastPanel
 {
+	LOG_CLASS(LLToastAlertPanel);
 public:
 	typedef bool (*display_callback_t)(S32 modal);