From: Natanael Copa Date: Wed, 13 Mar 2019 17:06:47 +0000 (+0100) Subject: bus/fslmc: fix build with musl libc X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=da1a31d92d65b88e068724da342ea46dfaa70036;p=dpdk.git bus/fslmc: fix build with musl libc This fixes the following compile error with musl libc: drivers/bus/fslmc/qbman/include/compat.h:41:10: error: 'stdout' undeclared (first use in this function) fflush(stdout); \ ^~~~~~ Fixes: 531b17a780dc ("bus/fslmc: add QBMAN driver to bus") Cc: stable@dpdk.org Signed-off-by: Natanael Copa --- diff --git a/drivers/bus/fslmc/qbman/include/compat.h b/drivers/bus/fslmc/qbman/include/compat.h index e85a90ce7a..1ddd69e127 100644 --- a/drivers/bus/fslmc/qbman/include/compat.h +++ b/drivers/bus/fslmc/qbman/include/compat.h @@ -11,6 +11,7 @@ #ifndef _GNU_SOURCE #define _GNU_SOURCE #endif +#include #include #include #include