diff --git a/include/fastboot.h b/include/fastboot.h
index 2ca1b907a54d72770577ec0a70bb1d67ed14d708..b106d6177493ba08e7eaf4e5c4bdf693719665f9 100644
--- a/include/fastboot.h
+++ b/include/fastboot.h
@@ -12,6 +12,8 @@
 #ifndef _FASTBOOT_H_
 #define _FASTBOOT_H_
 
+#include <linux/types.h>
+
 #define FASTBOOT_VERSION	"0.4"
 
 /*