compat: Added macros and header fixes to support RHEL7.3
[compat-rdma/compat.git] / include / linux / compat-3.11.h
index 981ac86..18e3247 100644 (file)
@@ -4,6 +4,7 @@
 #include <linux/version.h>
 
 #if (LINUX_VERSION_CODE < KERNEL_VERSION(3, 11, 0))
+#include <linux/netdevice.h>
 
 #ifndef AF_IB
 #define AF_IB          27      /* Native InfiniBand address    */