bus/dpaa: fix build
authorThomas Monjalon <thomas@monjalon.net>
Wed, 20 Jun 2018 10:38:06 +0000 (12:38 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 21 Jun 2018 08:27:45 +0000 (10:27 +0200)
commitce819b84220ef4abe87cccc71c78e7f4bc7a2f8b
tree33d62a1bf4378cd7b6079d89e6cf962c850db032
parent9d7ee7fc689cabc085106579c2842cf2231e360a
bus/dpaa: fix build

The DPAA bus driver is defining some macros without prefix.
So it can conflict with other libraries like libbsd:

drivers/bus/dpaa/include/compat.h:53:
error: "__packed" redefined
/usr/include/bsd/sys/cdefs.h:120:
note: this is the location of the previous definition

Fixes: 39f373cf015a ("bus/dpaa: add compatibility and helper macros")
Cc: stable@dpdk.org
Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: Shreyansh Jain <shreyansh.jain@nxp.com>
drivers/bus/dpaa/include/compat.h