diff --git a/fs/btrfs/raid56.c b/fs/btrfs/raid56.c
index 07222053c7d8488f01de142266d797e339a48fb9..9a79fb790adb9dc56a9ea5f49f39dfd67d14ea5f 100644
--- a/fs/btrfs/raid56.c
+++ b/fs/btrfs/raid56.c
@@ -31,6 +31,7 @@
 #include <linux/hash.h>
 #include <linux/list_sort.h>
 #include <linux/raid/xor.h>
+#include <linux/vmalloc.h>
 #include <asm/div64.h>
 #include "compat.h"
 #include "ctree.h"