diff --git a/indra/llcommon/llhandle.h b/indra/llcommon/llhandle.h
index feb5f418489e5b401eff95591ba4dd0fc31dbd66..570cd330b87ff228e33f938da79ef184c1a41f32 100644
--- a/indra/llcommon/llhandle.h
+++ b/indra/llcommon/llhandle.h
@@ -28,6 +28,7 @@
 #define LLHANDLE_H
 
 #include "llpointer.h"
+#include "llrefcount.h"
 #include "llexception.h"
 #include <stdexcept>
 #include <boost/type_traits/is_convertible.hpp>