diff --git a/include/common.h b/include/common.h
index f9f4605dba6458fe4984a7c4b7aeef11d82c65d7..3feaae641c797d5802319969fa309298e4ff2b90 100644
--- a/include/common.h
+++ b/include/common.h
@@ -16,6 +16,7 @@ typedef volatile unsigned short vu_short;
 typedef volatile unsigned char	vu_char;
 
 #include <config.h>
+#include <errno.h>
 #include <asm-offsets.h>
 #include <linux/bitops.h>
 #include <linux/types.h>