diff --git a/MathLib/LinAlg/Solvers/BiCGStab.cpp b/MathLib/LinAlg/Solvers/BiCGStab.cpp
index 2e44d20d07437b6b0a7ea7130fb261f4d73310ae..a29b12e3fbd3aed01d3ec18ab5c4062a4d9346ae 100644
--- a/MathLib/LinAlg/Solvers/BiCGStab.cpp
+++ b/MathLib/LinAlg/Solvers/BiCGStab.cpp
@@ -13,6 +13,8 @@
  */
 
 #include "BiCGStab.h"
+#include "MathLib/LinAlg/Sparse/CRSMatrix.h"
+
 
 #include "MathTools.h"
 #include "blas.h"
diff --git a/MathLib/LinAlg/Solvers/BiCGStab.h b/MathLib/LinAlg/Solvers/BiCGStab.h
index 8f8d20b8e854359f9ad3a8ce097c0620a1177184..290c888cf18999821c78354e37ad1f9b70f5fd69 100644
--- a/MathLib/LinAlg/Solvers/BiCGStab.h
+++ b/MathLib/LinAlg/Solvers/BiCGStab.h
@@ -15,9 +15,11 @@
 #ifndef BICGSTAB_H_
 #define BICGSTAB_H_
 
-#include "blas.h"
-#include "../Sparse/CRSMatrix.h"
-#include "../Sparse/CRSMatrixDiagPrecond.h"
+namespace MathLib
+{
+template <typename FP_TYPE, typename IDX_TYPE>
+class CRSMatrix;
+}
 
 namespace MathLib {