diff --git a/indra/llcommon/lleventfilter.cpp b/indra/llcommon/lleventfilter.cpp
index ae35fb9c8ecfe7faba7b7b1c30b27948406e7a0f..4cded7f88e0462aa2591b98239b6a7d3c4a5bee3 100644
--- a/indra/llcommon/lleventfilter.cpp
+++ b/indra/llcommon/lleventfilter.cpp
@@ -38,6 +38,7 @@
 #include "llerror.h"                // LL_ERRS
 #include "llsdutil.h"               // llsd_matches()
 #include "stringize.h"
+#include "lleventtimer.h"
 #include "lldate.h"
 
 /*****************************************************************************
diff --git a/indra/llcommon/lleventfilter.h b/indra/llcommon/lleventfilter.h
index f28d7e54aa91c8c9da572286457b9047118f7ab0..48c2570732090a0cbb6b2305259dd9214c2c1f47 100644
--- a/indra/llcommon/lleventfilter.h
+++ b/indra/llcommon/lleventfilter.h
@@ -33,9 +33,9 @@
 #include "stdtypes.h"
 #include "lltimer.h"
 #include "llsdutil.h"
-#include "lleventtimer.h"
 #include <boost/function.hpp>
 
+class LLEventTimer;
 class LLDate;
 
 /**