diff --git a/src/scheme/AcousticSolver.hpp b/src/scheme/AcousticSolver.hpp
index 7d5c5e5900d196142240423ea1ae787ec4c33bf4..2c5bc8efab6b1f34ab819cb14b8db4dcebbd5b68 100644
--- a/src/scheme/AcousticSolver.hpp
+++ b/src/scheme/AcousticSolver.hpp
@@ -1,4 +1,5 @@
-#pragma once
+#ifndef ACOUSTIC_SOLVER_HPP
+#define ACOUSTIC_SOLVER_HPP
 #include <memory>
 #include <tuple>
 #include <vector>
@@ -57,8 +58,8 @@ class AcousticSolverHandler
           const std::shared_ptr<const DiscreteFunctionVariant>& p,
           const std::vector<std::shared_ptr<const IBoundaryConditionDescriptor>>& bc_descriptor_list) const = 0;
 
-    IAcousticSolver()                             = default;
-    IAcousticSolver(IAcousticSolver&&)            = default;
+    IAcousticSolver()                  = default;
+    IAcousticSolver(IAcousticSolver&&) = default;
     IAcousticSolver& operator=(IAcousticSolver&&) = default;
 
     virtual ~IAcousticSolver() = default;
@@ -78,3 +79,4 @@ class AcousticSolverHandler
 
   AcousticSolverHandler(const std::shared_ptr<const IMesh>& mesh);
 };
+#endif   // ACOUSTIC_SOLVER_HPP
diff --git a/src/scheme/HyperelasticSolver.hpp b/src/scheme/HyperelasticSolver.hpp
index 044ccd96f80fff4a46613b32346b19b46af23ed1..0454998cf3650d91b432379db80bf4890b49e36c 100644
--- a/src/scheme/HyperelasticSolver.hpp
+++ b/src/scheme/HyperelasticSolver.hpp
@@ -1,4 +1,5 @@
-#pragma once
+#ifndef HYPERELASTIC_SOLVER_HPP
+#define HYPERELASTIC_SOLVER_HPP
 #include <memory>
 #include <tuple>
 #include <vector>
@@ -84,3 +85,4 @@ class HyperelasticSolverHandler
 
   HyperelasticSolverHandler(const std::shared_ptr<const IMesh>& mesh);
 };
+#endif   // HYPERELASTIC_SOLVER_HPP
diff --git a/src/scheme/IBoundaryConditionDescriptor.hpp b/src/scheme/IBoundaryConditionDescriptor.hpp
index 431f6b47f89360304425c3bb4ae5c79a95feb736..97a87f3f1e3dcc0e5700a3b1d88af5105c85cb0d 100644
--- a/src/scheme/IBoundaryConditionDescriptor.hpp
+++ b/src/scheme/IBoundaryConditionDescriptor.hpp
@@ -1,4 +1,5 @@
-#pragma once
+#ifndef I_BOUNDARY_CONDITION_DESCRIPTOR_HPP
+#define I_BOUNDARY_CONDITION_DESCRIPTOR_HPP
 
 #include <iostream>
 
@@ -42,3 +43,4 @@ class IBoundaryConditionDescriptor
 
   virtual ~IBoundaryConditionDescriptor() = default;
 };
+#endif   // I_BOUNDARY_CONDITION_DESCRIPTOR_HPP