diff --git a/indra/newview/llhudeffectlookat.cpp b/indra/newview/llhudeffectlookat.cpp
index 88e20e7c1c7bcc2babd50fa501d26562350cb051..72f7b9c3f04912b6d66502846c3745ca066b786e 100644
--- a/indra/newview/llhudeffectlookat.cpp
+++ b/indra/newview/llhudeffectlookat.cpp
@@ -43,6 +43,8 @@
 #include "llglheaders.h"
 #include "llxmltree.h"
 
+#include "llviewercontrol.h"
+
 
 BOOL LLHUDEffectLookAt::sDebugLookAt = FALSE;