compat: Fix RHEL7 build.
[cascardo/ovs.git] / datapath / linux / compat / udp.c
index a27928f..834a86b 100644 (file)
@@ -1,6 +1,6 @@
 #include <linux/version.h>
 
-#if LINUX_VERSION_CODE < KERNEL_VERSION(3,16,0)
+#ifndef HAVE_UDP_SET_CSUM
 
 #include <net/udp.h>