From: Jerin Jacob Date: Tue, 6 Feb 2018 17:14:55 +0000 (+0530) Subject: bus/fslmc: fix build with latest glibc X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=877fe37c0379a7df4aaaeffae7a811b964ed0af5;p=dpdk.git bus/fslmc: fix build with latest glibc Fix the following build error with latest glibc-headers( Part of aarch64-linux-gnu-gcc-7.3.0 toolchain) In file included from drivers/bus/fslmc/mc/fsl_mc_sys.h:30:0, from drivers/bus/fslmc/mc/dpmng.c:7: /usr/aarch64-linux-gnu/usr/include/libio.h:21:2: error: #warning " is deprecated; use instead." [-Werror=cpp] Fixes: 3af733ba8da8 ("bus/fslmc: introduce MC object functions") Cc: stable@dpdk.org Signed-off-by: Jerin Jacob --- diff --git a/drivers/bus/fslmc/mc/fsl_mc_sys.h b/drivers/bus/fslmc/mc/fsl_mc_sys.h index a48da1071c..d0c7b39f8d 100644 --- a/drivers/bus/fslmc/mc/fsl_mc_sys.h +++ b/drivers/bus/fslmc/mc/fsl_mc_sys.h @@ -27,7 +27,6 @@ struct fsl_mc_io { #else /* __linux_driver__ */ #include -#include #include #include #include