diff --git a/src/myblockproblem.hh b/src/myblockproblem.hh
index 27d006b4935bdffc419e9806853458add4ed0c07..a8a0c41add685837312e892862213535fe03946d 100644
--- a/src/myblockproblem.hh
+++ b/src/myblockproblem.hh
@@ -1,5 +1,8 @@
 // Based on dune/tnnmg/problem-classes/blocknonlineargsproblem.hh
 
+#ifndef MY_BLOCK_PROBLEM_HH
+#define MY_BLOCK_PROBLEM_HH
+
 // #include <dune/common/parametertree.hh>
 #include <dune/common/bitsetvector.hh>
 
@@ -140,3 +143,5 @@ class MyBlockProblem<MyConvexProblemTypeTEMPLATE>::IterateObject {
    * performed */
   int bisectionsteps;
 };
+
+#endif