From da1a31d92d65b88e068724da342ea46dfaa70036 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Wed, 13 Mar 2019 18:06:47 +0100 Subject: [PATCH] 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 --- drivers/bus/fslmc/qbman/include/compat.h | 1 + 1 file changed, 1 insertion(+) 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 -- 2.20.1