bus/fslmc: fix build with latest glibc
authorJerin Jacob <jerin.jacob@caviumnetworks.com>
Tue, 6 Feb 2018 17:14:55 +0000 (22:44 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 6 Feb 2018 17:29:37 +0000 (18:29 +0100)
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 "<libio.h> is deprecated; use <stdio.h> instead." [-Werror=cpp]

Fixes: 3af733ba8da8 ("bus/fslmc: introduce MC object functions")
Cc: stable@dpdk.org
Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
drivers/bus/fslmc/mc/fsl_mc_sys.h

index a48da10..d0c7b39 100644 (file)
@@ -27,7 +27,6 @@ struct fsl_mc_io {
 #else /* __linux_driver__ */
 
 #include <stdio.h>
-#include <libio.h>
 #include <stdint.h>
 #include <errno.h>
 #include <sys/uio.h>