datapath: Fix build with backported dev_get_stats().
authorJustin Pettit <jpettit@nicira.com>
Mon, 17 May 2010 21:13:32 +0000 (14:13 -0700)
committerJustin Pettit <jpettit@nicira.com>
Mon, 17 May 2010 22:07:10 +0000 (15:07 -0700)
commit488a9d1703a182529d53d80c7ab5a1b608a3600a
tree5d00b61e052292870117a6ca254d9411b6a7b4fe
parent9cbd4a4ee098426aef07fb20cc322416e293884f
datapath: Fix build with backported dev_get_stats().

An upcoming backport adds dev_get_stats() to a pre-2.6.29 Linux kernel, so we
have to check for the presence of an dev_get_stats() definition instead of for
the particular kernel version.
acinclude.m4
datapath/linux-2.6/compat-2.6/include/linux/netdevice.h