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)
commit877fe37c0379a7df4aaaeffae7a811b964ed0af5
tree2bdd0d41439a30a468c880315df21ba605ad06b2
parent41fc015197b9c135b81e565dba5f1e6da83545f4
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 "<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