[v3,05/15] bus/fslmc: fix compile error with musl libc
Checks
Commit Message
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); \
^~~~~~
Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
---
drivers/bus/fslmc/qbman/include/compat.h | 1 +
1 file changed, 1 insertion(+)
@@ -11,6 +11,7 @@
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
+#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
#include <errno.h>