diff --git a/indra/llcommon/lldate.h b/indra/llcommon/lldate.h
index 5c28a076cddba8e497e185f0c321024fcaefd627..5b1ec9295f2b69dd3ea0e3bc8b54ca1cade97b16 100644
--- a/indra/llcommon/lldate.h
+++ b/indra/llcommon/lldate.h
@@ -35,8 +35,6 @@
 #ifndef LL_LLDATE_H
 #define LL_LLDATE_H
 
-#include "linden_common.h"
-
 #include <iosfwd>
 #include <string>
 
diff --git a/indra/llcommon/tests/llstring_test.cpp b/indra/llcommon/tests/llstring_test.cpp
index 6a2ebc61f5d5fff88bcb7860c91b73f9e3aeaeae..beba55416ad50fc3b4c28a44e45f4d09f8b44b39 100644
--- a/indra/llcommon/tests/llstring_test.cpp
+++ b/indra/llcommon/tests/llstring_test.cpp
@@ -32,6 +32,7 @@
  * $/LicenseInfo$
  */
 
+#include "linden_common.h"
 #include "../test/lltut.h"
 
 #include "../llstring.h"