diff --git a/src/duneoctave.hh b/src/duneoctave.hh
index b25c01b6eeef76922c58b5274cce83ba9f84a82e..6857f2c2255dfcfb5c95c6c30482f299da3969af 100644
--- a/src/duneoctave.hh
+++ b/src/duneoctave.hh
@@ -3,6 +3,8 @@
 #ifndef DUNE_OCTAVE_HH
 #define DUNE_OCTAVE_HH
 
+#include <octave/oct.h>
+
 #include "samplefunctional.hh"
 
 #include <cassert>