--- a/module/oprofile.c
+++ b/module/oprofile.c
@@ -18,6 +18,7 @@
 
 EXPORT_NO_SYMBOLS;
 
+#include "version.h"
 static char *op_version = VERSION_STRING;
 MODULE_AUTHOR("John Levon (moz@compsoc.man.ac.uk)");
 MODULE_DESCRIPTION("Continuous Profiling Module");