diff --git a/question/type/questiontype.php b/question/type/questiontype.php
index <HASH>..<HASH> 100644
--- a/question/type/questiontype.php
+++ b/question/type/questiontype.php
@@ -9,10 +9,11 @@
 *         {@link http://maths.york.ac.uk/serving_maths}
 * @license http://www.gnu.org/copyleft/gpl.html GNU Public License
 * @package quiz
-*/
+*//** */
 
-/// Question type class //////////////////////////////////////////////
+require_once($CFG->libdir . '/questionlib.php');
 
+/// Question type class //////////////////////////////////////////////
 class default_questiontype {
 
     /**
Tweak to unbreak unit tests.