From: Jan Viktorin Date: Fri, 24 Jul 2015 17:11:44 +0000 (+0200) Subject: igb_uio: fix build X-Git-Tag: spdx-start~8631 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=f76640a8498e85d60e25fbd9499cf69477fd8927;p=dpdk.git igb_uio: fix build The missing header prevents to build with linux v3.18. The problem is with kzalloc and kfree which are undefined in the igb_uio driver. HOSTCC="/usr/bin/gcc" HOSTCFLAGS="" ARCH=arm RTE_TARGET=arm-armv7-a-linuxapp-gcc CROSS=arm-none-linux-gnueabi- lib/librte_eal/linuxapp/igb_uio/igb_uio.c: error: implicit declaration of function 'kzalloc' error: implicit declaration of function 'kfree' Signed-off-by: Jan Viktorin --- diff --git a/lib/librte_eal/linuxapp/igb_uio/igb_uio.c b/lib/librte_eal/linuxapp/igb_uio/igb_uio.c index ba1364b7c0..865a2764f5 100644 --- a/lib/librte_eal/linuxapp/igb_uio/igb_uio.c +++ b/lib/librte_eal/linuxapp/igb_uio/igb_uio.c @@ -31,6 +31,7 @@ #include #include #include +#include #ifdef CONFIG_XEN_DOM0 #include