diff --git a/net/ipv4/fib_trie.c b/net/ipv4/fib_trie.c
index a3ed7e13f795f996ad21f442e4f9a2f23b90b5ef..e320b32373e5703edac6e7b7f9e2c3310100cd1b 100644
--- a/net/ipv4/fib_trie.c
+++ b/net/ipv4/fib_trie.c
@@ -66,6 +66,7 @@
 #include <linux/errno.h>
 #include <linux/in.h>
 #include <linux/inet.h>
+#include <linux/inetdevice.h>
 #include <linux/netdevice.h>
 #include <linux/if_arp.h>
 #include <linux/proc_fs.h>