From e00384e977fac3120ba946a3aa2a3b37c1a1e2c6 Mon Sep 17 00:00:00 2001
From: Bernd Flemisch <bernd@iws.uni-stuttgart.de>
Date: Fri, 24 Aug 2012 11:06:44 +0000
Subject: [PATCH] fix make headercheck

git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@8994 2fb0f335-1f38-0410-981e-8018bf24f1b0
---
 test/decoupled/2p/test_impesadaptiveproblem.hh | 4 ++++
 test/decoupled/2p/test_mpfa2pproblem.hh        | 4 ++++
 2 files changed, 8 insertions(+)

diff --git a/test/decoupled/2p/test_impesadaptiveproblem.hh b/test/decoupled/2p/test_impesadaptiveproblem.hh
index 8806f9f9c5..3c4d3b5e1d 100644
--- a/test/decoupled/2p/test_impesadaptiveproblem.hh
+++ b/test/decoupled/2p/test_impesadaptiveproblem.hh
@@ -29,6 +29,8 @@
 #ifndef DUMUX_TEST_IMPES_ADAPTIVE_PROBLEM_HH
 #define DUMUX_TEST_IMPES_ADAPTIVE_PROBLEM_HH
 
+#if HAVE_ALUGRID
+
 #include <dune/grid/alugrid/2d/alugrid.hh>
 #include <dumux/common/cubegridcreator.hh>
 
@@ -276,3 +278,5 @@ private:
 } //end namespace
 
 #endif
+
+#endif
diff --git a/test/decoupled/2p/test_mpfa2pproblem.hh b/test/decoupled/2p/test_mpfa2pproblem.hh
index 59e0211012..9e9c77c98c 100644
--- a/test/decoupled/2p/test_mpfa2pproblem.hh
+++ b/test/decoupled/2p/test_mpfa2pproblem.hh
@@ -27,6 +27,8 @@
 #ifndef DUMUX_TEST_MPFA2P_PROBLEM_HH
 #define DUMUX_TEST_MPFA2P_PROBLEM_HH
 
+#if HAVE_ALUGRID
+
 #include <dune/grid/alugrid/2d/alugrid.hh>
 
 #include <dumux/common/cubegridcreator.hh>
@@ -387,4 +389,6 @@ static constexpr Scalar eps_ = 1e-6;
 };
 } //end namespace
 
+#endif 
+
 #endif
-- 
GitLab