diff --git a/Tests/MathLib/TestLinearSystem.cpp b/Tests/MathLib/TestLinearSystem.cpp
index a5338c7fd5e26d902e6e9ca842f27f38e3ca7552..dc7e730d771ea30c76e0941d8b8fb1925f0af62a 100644
--- a/Tests/MathLib/TestLinearSystem.cpp
+++ b/Tests/MathLib/TestLinearSystem.cpp
@@ -13,6 +13,7 @@
 #include <gtest/gtest.h>
 #include <boost/property_tree/ptree.hpp>
 
+#include "MathLib/LinAlg/Sparse/Sparsity.h"
 #ifdef USE_LIS
 #include "MathLib/LinAlg/SystemOfLinearEquations/LisLinearSystem.h"
 #endif